-
-
Notifications
You must be signed in to change notification settings - Fork 302
[DO NOT MERGE BEFORE Q1 RELEASED] [Remove Vuetify from Studio] Main navigation in Channels #5642
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
Open
Prashant-thakur77
wants to merge
102
commits into
learningequality:unstable
Choose a base branch
from
Prashant-thakur77:remove-vuetify-navigation-5369
base: unstable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
e52bce9
Mkaing the studionavigationtab
Prashant-thakur77 0d54466
Updated
Prashant-thakur77 7967140
FIX: resolved the merge conflicts
Prashant-thakur77 2639864
Updated
Prashant-thakur77 ca5ee87
Updated
Prashant-thakur77 40fba77
Updated
Prashant-thakur77 f85eafb
Update
Prashant-thakur77 4093684
Update
Prashant-thakur77 0bdebdd
Update styles
Prashant-thakur77 10e84e5
Updated sidepanel styles
Prashant-thakur77 17aae8f
Updated sidepanel styles
Prashant-thakur77 6b5d5a8
Updated sidepanel styles
Prashant-thakur77 c5e78f2
Updated sidepanel styles
Prashant-thakur77 91cd63a
Updated sidepanel styles
Prashant-thakur77 e842db0
Updated sidepanel styles
Prashant-thakur77 444e68d
Updated sidepanel styles
Prashant-thakur77 7e679d3
Updated styles
Prashant-thakur77 5ce6de5
Updated
Prashant-thakur77 51169b0
Updated styles for tabs
Prashant-thakur77 4cfd440
Updated styles for tabs
Prashant-thakur77 1abdc2f
Updated styles for tabs
Prashant-thakur77 c7d1a4a
Updated styles for tabs
Prashant-thakur77 df5573d
Updated styles of sidepanel
Prashant-thakur77 f9dcc48
Updated styles of sidepanel
Prashant-thakur77 0d2cec5
Updated sidepanel styles
Prashant-thakur77 3961688
Updated sidepanel styles
Prashant-thakur77 69efb09
Updated sidepanel styles
Prashant-thakur77 c8213f5
Updated sidepanel styles
Prashant-thakur77 b12669e
Added scrollable funcality to tabs
Prashant-thakur77 58b6e21
Updated the link design
Prashant-thakur77 351a6ba
Updated the link design
Prashant-thakur77 632c82d
Updated the link design
Prashant-thakur77 7e74a38
Updated the link design
Prashant-thakur77 79bed41
Updated the link design
Prashant-thakur77 9b0daa6
Updated the link design
Prashant-thakur77 c443c66
Updated the title styles
Prashant-thakur77 a99d115
Updated the title styles
Prashant-thakur77 4cdcc00
Updated the sliding indicator
Prashant-thakur77 066843c
Updated the sliding indicator
Prashant-thakur77 799656e
Updated class anmes
Prashant-thakur77 0344e6d
Updated the tabs container
Prashant-thakur77 ccaa08b
Sliding approach
Prashant-thakur77 e574922
Sliding approach
Prashant-thakur77 056d06a
old approach after review
Prashant-thakur77 f121655
updated code for tabs
Prashant-thakur77 78c581c
Updated menu styles
Prashant-thakur77 94788df
Added StudioPanelOption.vue
Prashant-thakur77 1f19b61
Added StudioPanelOption.vue
Prashant-thakur77 8a0c2f5
Added StudioPanelOption.vue
Prashant-thakur77 999e2ce
Added StudioPanelOption.vue
Prashant-thakur77 133c4fb
Added StudioPanelOption.vue
Prashant-thakur77 b88c03e
Updated styles
Prashant-thakur77 ad11ae9
Updated the skipnavigationlink functionality
Prashant-thakur77 b452b66
Removed the padding added to the sie panle modal and rather added tha…
Prashant-thakur77 93f8eab
updatedstyles
Prashant-thakur77 ce24b5b
updatedstyles
Prashant-thakur77 016b543
Updated Catalogfiltercontent to handle padding wihout sidepanelmodal
Prashant-thakur77 608315f
Updated boolean
Prashant-thakur77 6798275
Updated the tabtrack method to studionavigation
Prashant-thakur77 7bf1b56
Updated the tabtrack method to studionavigation
Prashant-thakur77 1e743f9
finalising
Prashant-thakur77 b4c9a74
Test file updated
Prashant-thakur77 f480ccd
Test file created
Prashant-thakur77 1473e11
Updated test files
Prashant-thakur77 2af6db2
Updated strings
Prashant-thakur77 93fab27
Test files
Prashant-thakur77 adc5e26
Final updates
Prashant-thakur77 1a316ad
Final updates
Prashant-thakur77 bb66295
Final updates
Prashant-thakur77 8e8269e
Updated class names
Prashant-thakur77 111b0da
precommit
Prashant-thakur77 970976a
Added aria-label to the nav
Prashant-thakur77 cd4a4ed
Updated
Prashant-thakur77 2191395
updated
Prashant-thakur77 f8e0dee
resolving review
Prashant-thakur77 7d96d2e
used ktexttruncaotr
Prashant-thakur77 c0d98a6
aligned the ktexttruncator with ktoolbar
Prashant-thakur77 e9ada03
removed aria-live
Prashant-thakur77 c0e49f4
updated
Prashant-thakur77 43f30a8
don
Prashant-thakur77 0388aec
decresd offsst
Prashant-thakur77 c6e30ba
updated
Prashant-thakur77 157207a
vreated a diff file to sidepanel to manage codebas
Prashant-thakur77 07dadd1
UPdated with reviews
Prashant-thakur77 a0f7b74
Removed magic stirngs
Prashant-thakur77 1e51d58
done
Prashant-thakur77 9791254
Made updates
Prashant-thakur77 42cdf3c
Made updates
Prashant-thakur77 be62a2f
Made updates
Prashant-thakur77 d5efc68
Made updates
Prashant-thakur77 8032325
Made updates
Prashant-thakur77 51dbfd8
corrected test suits
Prashant-thakur77 b524296
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] 921d621
FIX: Resolve merge conflicts and lint errors in ChannelListIndex.vue
Prashant-thakur77 e5442ac
FEAT: Add notification indicators to StudioNavigation and SidePanel
Prashant-thakur77 a94f78c
FIX: Move NotificationsModal into explicit default slot
Prashant-thakur77 1172afb
Resolved merge issues
Prashant-thakur77 288bac0
Fix: Fixed kdropdown size
Prashant-thakur77 aa6d820
Fixing Kdropdown sizes
Prashant-thakur77 97d94ab
Fixing Kdropdown sizes
Prashant-thakur77 e83f061
Fix: Resolved rtl issues in the red dot usage for notification
Prashant-thakur77 b70676f
Resolved some indentaion
Prashant-thakur77 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
89 changes: 89 additions & 0 deletions
89
...entcuration/contentcuration/frontend/shared/views/StudioNavigation/SkipNavigationLink.vue
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| <template> | ||
|
|
||
| <div class="skip-nav-link"> | ||
| <KButton | ||
| ref="button" | ||
| :style="linkStyles" | ||
| appearance="basic-link" | ||
| :text="$tr('skipToMainContentAction')" | ||
| @click="handleClickSkipLink" | ||
| /> | ||
| </div> | ||
|
|
||
| </template> | ||
|
|
||
|
|
||
| <script> | ||
|
|
||
| export default { | ||
| name: 'SkipNavigationLink', | ||
| computed: { | ||
| linkStyles() { | ||
| return { | ||
| backgroundColor: this.$themeTokens.surface + ' !important', | ||
| }; | ||
| }, | ||
| }, | ||
| methods: { | ||
| handleClickSkipLink() { | ||
| // Every page where this is supposed to work needs to have a top-level | ||
| // element with 'role' and 'id' attribute equal to 'main' and 'tabindex= -1'. | ||
| // If it doesn't have one, clicking this link is a noop, but will re-focus itself | ||
| // as a convenience (in case main div is still loading). | ||
| const mainEl = document.getElementById('main'); | ||
| if (mainEl) { | ||
| // If it exists, actually target and focus on the main header | ||
| const header = mainEl.querySelector('h1'); | ||
| if (header) { | ||
| // HACK: Need to set its tabindex attribute on the fly to get tab behavior | ||
| header.setAttribute('tabindex', -1); | ||
| header.focus(); | ||
| } else { | ||
| mainEl.focus(); | ||
| } | ||
| } else { | ||
| // NOTE: the button retains focus, but loses :focus styling after hitting "Enter" | ||
| // TODO: look into theme input modality to see if we can get consistent | ||
| // styling when in keyboard modality | ||
| this.$refs.button.$el.focus(); | ||
| } | ||
| }, | ||
| }, | ||
| $trs: { | ||
| skipToMainContentAction: { | ||
| message: 'Skip to main content', | ||
| context: | ||
| 'Button label for the hamburger menu in the top left corner. Accessible only to those who use screen readers and other assistive technology (AT).', | ||
| }, | ||
| }, | ||
| }; | ||
|
|
||
| </script> | ||
|
|
||
|
|
||
| <style lang="scss" scoped> | ||
|
|
||
| @import '~kolibri-design-system/lib/styles/definitions'; | ||
|
|
||
| .skip-nav-link { | ||
| position: relative; | ||
| z-index: 2; | ||
| } | ||
|
|
||
| .skip-nav-link a { | ||
| @extend %dropshadow-2dp; | ||
|
|
||
| position: absolute; | ||
| left: -1000px; | ||
| padding: 8px 16px; | ||
| font-size: 14px; | ||
| outline-offset: 0 !important; | ||
|
|
||
| &:focus { | ||
| top: 8px; | ||
| left: 8px; | ||
| z-index: 2; | ||
| } | ||
| } | ||
|
|
||
| </style> |
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.
@MisRob This prop is added here to deal with the full width functionality of sidepanelmodel