-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style: Navigation improvements #3864
Merged
Merged
Changes from 53 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
63c7de9
Nav poc
kyle-ssg 1191c15
Nav poc
kyle-ssg 56a1b77
Nav poc
kyle-ssg 38f5c82
Nav poc
kyle-ssg 8dbbff8
Nav poc
kyle-ssg 5c44c5d
Nav poc
kyle-ssg cd8295a
Nav poc
kyle-ssg d5ef88b
Fix page title line height
kyle-ssg 6bd20e8
Adjust breadcrumb
kyle-ssg 104c4c0
Tidy gh logo
kyle-ssg 368ee34
Improvements
kyle-ssg 06f3542
Organisations page
kyle-ssg 7216afd
Fix org navigation
kyle-ssg d121862
Fix Org caching
kyle-ssg c2aa3af
neaten breadcrumb
kyle-ssg d4cb892
Add org filtering
kyle-ssg d22158a
Add org filtering
kyle-ssg 215d661
Merge branch 'main' into style/nav-poc
kyle-ssg 1292003
Add permissions
kyle-ssg e731d83
Add Project homepage
kyle-ssg 9733099
Fix project link
kyle-ssg 7fe9b62
Keyed nav in BreadcrumbSeparator
kyle-ssg f6d1ee8
Follow keyboard
kyle-ssg 83167df
prevent cache misses
kyle-ssg 23e9d37
prevent cache misses
kyle-ssg 8933cbe
Fix tests
kyle-ssg 340f62c
Lint
kyle-ssg 3d98845
Lint
kyle-ssg eb20a9a
Handle navigating to /organisation-settings when user has no organisa…
kyle-ssg 67860aa
Remove unused page
kyle-ssg e79e72d
Move CSS for aside
kyle-ssg fba873b
Remove images
kyle-ssg 4d45f1a
Remove unused styles
kyle-ssg a7d8e6d
Remove unused styles
kyle-ssg 86e08a4
Remove unused styles
kyle-ssg f849921
chore: Remove unused styles (#3882)
kyle-ssg 5c7ba3e
Merge branch 'chore/remove-unused-styles' into style/nav-poc
kyle-ssg 3fed438
Merge branch 'main' into style/nav-poc
kyle-ssg bc1183e
Merge branch 'main' into style/nav-poc
kyle-ssg f9a3f91
Fix project access message
kyle-ssg decfd1c
Fix segment environment id context
kyle-ssg 052c34c
Improve environment nav
kyle-ssg dd9401e
Improve environment nav
kyle-ssg d359142
Fix tests
kyle-ssg fb79352
Add create links to top nav
kyle-ssg 6668798
Add create links to top nav
kyle-ssg b759768
Improve styles, fix no projects message
kyle-ssg a7bf185
Move SDK keys
kyle-ssg 44ceb9d
Add settings labels
kyle-ssg ddffda4
Update settings icon, add settings labels
kyle-ssg cdac097
Tidy up sdk keys icon, fix change requests number not showing
kyle-ssg be76434
Fix signup responsiveness
kyle-ssg 60e269a
Merge branch 'style/fix-signup-responsiveness' into style/nav-poc
kyle-ssg 4eb64ac
Escape tag tooltips
kyle-ssg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ const controller = { | |
environmentId: res[0].api_key, | ||
projectId: project.id, | ||
} | ||
AppActions.refreshOrganisation() | ||
store.saved() | ||
}) | ||
}) | ||
|
@@ -125,7 +126,7 @@ const controller = { | |
}) | ||
}, | ||
getOrganisation: (id, force) => { | ||
if (id !== store.id || force) { | ||
if (`${id}` !== `${store.id}` || force) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Protects against refetching organisation where the only difference was id vs "id" |
||
store.id = id | ||
store.loading() | ||
|
||
|
@@ -146,7 +147,7 @@ const controller = { | |
: [], | ||
), | ||
).then((res) => { | ||
if (id === store.id) { | ||
if (`${id}` === `${store.id}`) { | ||
// eslint-disable-next-line prefer-const | ||
let [_projects, users, invites, subscriptionMeta] = res | ||
let projects = _.sortBy(_projects, 'name') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
import { | ||
assertTextContent, | ||
byId, | ||
click, | ||
log, | ||
login, | ||
setText, | ||
waitForElementVisible, | ||
} from '../helpers.cafe' | ||
} from '../helpers.cafe'; | ||
import { E2E_USER, PASSWORD } from '../config' | ||
|
||
export default async function () { | ||
log('Login') | ||
await login(E2E_USER, PASSWORD) | ||
await click('#project-select-0') | ||
log('Edit Project') | ||
await click('#project-link') | ||
await click('#project-settings-link') | ||
await setText("[name='proj-name']", 'Test Project') | ||
await click('#save-proj-btn') | ||
await waitForElementVisible(byId('switch-project-test-project')) | ||
await assertTextContent(`#project-link`, 'Test Project') | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prioritises url based organisation over last visited