-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unify navbars #233
Open
MaHaWo
wants to merge
24
commits into
main
Choose a base branch
from
unify-navbars
base: main
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
Unify navbars #233
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
98f92d8
update packages
MaHaWo 3b1f614
automate darkstyle, remove upper navbar
MaHaWo 1a342b6
work on the navigation system
MaHaWo 7472511
finalize sidebar
MaHaWo 7c6c4cb
remove avatar from navbar
MaHaWo 273d50f
extend breadcrumbs
MaHaWo 7fbfea6
change some styling
MaHaWo cc8c8db
finish mobile drawer
MaHaWo ea0d64a
delete obsolete file
MaHaWo 2b33de2
restore layout title
MaHaWo 76f1676
Make language selection appear in Sidebar for logged in users, and re…
jmsssc 976ddb0
Put language chooser in the sidebar, give it an icon, and move mobile…
jmsssc 6849f57
Change home page to have log in / Register options (primary focus Reg…
jmsssc 0d7b934
Remove overwriting and unused styling/imports from new login button o…
jmsssc d532f56
Reactivate dark mode option and make the button colours for the new b…
jmsssc d9c573f
Refactor DarkModeChooser into it's own component and reference it whe…
jmsssc 04298d7
Refactor: Remove unused imports
jmsssc 9323779
Refactor: Fix navigation to react to page changes on client side, so …
jmsssc ccf9eba
Correct the margins so buttons on front page align vertically on mobi…
jmsssc 4cc3956
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d3818de
Merge branch 'main' into unify-navbars
MaHaWo 324a41c
Fix the light/dark colours for the sidebar button when logged in on m…
jmsssc b601821
Set i18n translation key for a previously hardcoded string
jmsssc 5ff3d42
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script> | ||
import FunctionalIcon from "$lib/components/Navigation/FunctionalIcon.svelte"; | ||
import { DarkMode } from "flowbite-svelte"; | ||
import { MoonSolid, SunSolid } from "flowbite-svelte-icons"; | ||
</script> | ||
|
||
<FunctionalIcon tooltip={'Darkmode ein- oder ausschalten'}> | ||
<DarkMode class="apply-icon-style"> | ||
<MoonSolid slot="darkIcon" /> | ||
<SunSolid slot="lightIcon" /> | ||
</DarkMode> | ||
</FunctionalIcon> |
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
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.
this german tooltip text can be added somewhere in https://github.com/ssciwr/mondey/blob/main/frontend/src/lib/translations.ts
and referenced here, e.g. something like
then in the admin interface in the deployed version translations can be added for other languages
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.
Thank you for the review @lkeegan
Ah good catch sure absolutely the Hamburger icon is an issue on dark mode, that's wrong. I made the icon bigger but I can return it to the same size as the non-logged in icon (lg rather than xl) and make it turn white in dark mode. And maybe remove the background color of it's container if it messes with the UI. I will make the tooltip a translation key too.
On the other couple of things: The LocaleChooser I thought wasn't functional yet throughout, but absolutely I will look at why it might not work now and get it working on this branch. Einstellung is the same, it was like that so I did not change it or think anything was awry as I didn't realize it worked differently on main. I will look at code in main where I see it allows you to change your password and set locale, and get it working on this branch.