Skip to content
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

Add help & news on login screen and main nav #4618

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

manuelmeister
Copy link
Member

Bildschirmfoto 2024-01-20 um 13 39 44
Bildschirmfoto 2024-01-20 um 13 41 15

Currently news links to our blog and help to the FAQ page. Maybe this reduces the feature requests for "Meine Aufgaben".

@manuelmeister manuelmeister added type: Frontend UX/UI deploy! Creates a feature branch deployment for this PR labels Feb 4, 2024
Copy link

github-actions bot commented Feb 4, 2024

Feature branch deployment currently inactive.

If the PR is still open, you can add the deploy! label to this PR to trigger a feature branch deployment.

.helm/deploy-to-cluster.sh Show resolved Hide resolved
.github/workflows/reusable-dev-deployment.yml Show resolved Hide resolved
frontend/src/views/Profile.vue Show resolved Hide resolved
frontend/src/views/auth/NavigationAuth.vue Show resolved Hide resolved
frontend/src/views/auth/NavigationAuth.vue Show resolved Hide resolved
frontend/src/views/auth/NavigationAuth.vue Show resolved Hide resolved
frontend/src/views/auth/NavigationAuth.vue Show resolved Hide resolved
.github/workflows/reusable-dev-deployment.yml Show resolved Hide resolved
Comment on lines 36 to 47
<SidebarListItem
:title="$tc('global.navigation.help')"
icon="mdi-help-circle-outline"
:href="helpLink"
target="_blank"
/>
<SidebarListItem
:title="$tc('global.navigation.news')"
icon="mdi-news"
:href="newsLink"
target="_blank"
/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want these 2 links before the camp specific buttons?
now you have to scroll down on a small device to print the camp.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind. I think it would be strange to split the global options

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The termsOfServiceLinkTemplate has the same problem, and @manuelmeister made it consistent.
I opened another issue to fix this: #4777

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also prefer (and intuitively look for) these points to be at the very bottom of the menu. I see the point about splitting the related options, but I don't think "my camps" is very much related to help and news. Also, help and news are two links which will probably only be used very rarely (especially since help is just the FAQ right now), while "my camps" is used relatively often. That alone justifies moving the help and news links to the bottom for me.

@BacLuc
Copy link
Contributor

BacLuc commented Feb 7, 2024

It looks cool.
Just some deployment/kubernetes specific stuff and some questions

@manuelmeister
Copy link
Member Author

@BacLuc can you do the deployment specific integration please?

@manuelmeister manuelmeister mentioned this pull request Mar 12, 2024
@carlobeltrame carlobeltrame temporarily deployed to pr4776 March 16, 2024 18:09 Destroyed
@BacLuc BacLuc mentioned this pull request Mar 16, 2024
@manuelmeister manuelmeister requested review from simfeld and carlobeltrame and removed request for carlobeltrame March 16, 2024 20:49
@manuelmeister
Copy link
Member Author

@carlobeltrame can you have a look at this?

Copy link
Member

@carlobeltrame carlobeltrame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current status works for me as an initial version, but I'd like to see it improved in the future. I would also like to hide the links when they can't be clicked because of missing values in the deployment.

@@ -87,6 +87,8 @@ jobs:
--set caddy.image.repository='docker.io/${{ vars.DOCKER_HUB_USERNAME }}/ecamp3-api-caddy' \
--set postgresql.dbBackupRestoreImage.repository='docker.io/${{ vars.DOCKER_HUB_USERNAME }}/ecamp3-db-backup-restore' \
--set termsOfServiceLinkTemplate='https://ecamp3.ch/{lang}/tos' \
--set newsLink='https://ecamp3.ch/blog' \
--set helpLink='https://ecamp3.ch/faq' \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the FAQ page is now a help page, I would expect one more question in the FAQ: "My question is not answered here, where can I ask my question?" which links to the contact form.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines 36 to 47
<SidebarListItem
:title="$tc('global.navigation.help')"
icon="mdi-help-circle-outline"
:href="helpLink"
target="_blank"
/>
<SidebarListItem
:title="$tc('global.navigation.news')"
icon="mdi-news"
:href="newsLink"
target="_blank"
/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also prefer (and intuitively look for) these points to be at the very bottom of the menu. I see the point about splitting the related options, but I don't think "my camps" is very much related to help and news. Also, help and news are two links which will probably only be used very rarely (especially since help is just the FAQ right now), while "my camps" is used relatively often. That alone justifies moving the help and news links to the bottom for me.

frontend/src/views/auth/NavigationAuth.vue Show resolved Hide resolved
Merged via the queue into ecamp:devel with commit ac39d36 Mar 26, 2024
31 of 32 checks passed
@manuelmeister manuelmeister deleted the feature/add-help-navigation branch March 26, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy! Creates a feature branch deployment for this PR type: Frontend UX/UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants