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

Organize admin views #3841

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Conversation

manuelmeister
Copy link
Member

The goal of this PR is to reorganize the admin views. Also provide better wording for non-managers on the admin/info page. This will make the experience more consistent across devices.

Member view:
Admin page with TopNavbarItem "Infos"

Manager view:
Admin page with TopNavbarItem "Admin"

In a next PR, I would like to change the api-input prop disabled to readonly and remove the outlined style of the api-input if it is readonly.
Bildschirmfoto 2023-09-25 um 12 59 20

FYI: Material lists would be a new view with renaming capabilities. This was not implemented in this draft as it is blocked by #3797.

@manuelmeister manuelmeister added type: Frontend UX/UI deploy! Creates a feature branch deployment for this PR labels Sep 25, 2023
@manuelmeister manuelmeister temporarily deployed to feature-branch September 25, 2023 11:06 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Sep 25, 2023

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.

@manuelmeister
Copy link
Member Author

@ecamp/core what do you think of this draft?

@manuelmeister manuelmeister temporarily deployed to feature-branch September 27, 2023 21:30 — with GitHub Actions Inactive
@manuelmeister manuelmeister temporarily deployed to feature-branch September 28, 2023 14:48 — with GitHub Actions Inactive
@manuelmeister manuelmeister temporarily deployed to feature-branch September 28, 2023 14:57 — with GitHub Actions Inactive
@manuelmeister manuelmeister changed the title Draft: Organize admin views Organize admin views Sep 28, 2023
@manuelmeister manuelmeister marked this pull request as ready for review September 28, 2023 15:23
@pmattmann
Copy link
Member

I like it!

Minor:
As Admin, the tab is called 'Admin' - as Member the tab is called 'Infos'
I would prefere to have a consistant name:

  • 'Admin' for everybody
  • 'Settings'
  • Meta ??

@manuelmeister manuelmeister temporarily deployed to feature-branch September 30, 2023 18:33 — with GitHub Actions Inactive
</v-navigation-drawer>
</template>

<script>
export default {
name: 'SideBar',
props: {
// TODO: Implement title in SideBarProgram as well
Copy link
Contributor

Choose a reason for hiding this comment

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

What is with this todo?
either do it and delete, or create an issue and delete please

frontend/src/locales/de.json Show resolved Hide resolved
frontend/src/mixins/campRoleMixin.js Outdated Show resolved Hide resolved
frontend/src/mixins/campRoleMixin.js Outdated Show resolved Hide resolved
frontend/src/router.js Show resolved Hide resolved
frontend/src/views/camp/navigation/mobile/NavSidebar.vue Outdated Show resolved Hide resolved
@manuelmeister manuelmeister temporarily deployed to feature-branch September 30, 2023 22:11 — with GitHub Actions Inactive
@manuelmeister manuelmeister added this pull request to the merge queue Oct 1, 2023
Merged via the queue into ecamp:devel with commit 1e1944a Oct 1, 2023
28 checks passed
BacLuc added a commit to BacLuc/ecamp3 that referenced this pull request Oct 21, 2023
Navigate to the list of materiallists in the NavBottombar.
Add new view for the list of materiallists
to navigate to the details of one materiallist.
Rename the views/admin/(,Admin)MaterialLists component to avoid name clash with
the new component.
Add quick way to differentiate the target routes in the materialListRoute helper
for the NavBottombar and NavTopbar.
May have been introduced in ecamp#3841.

Also add guard if camp is not loaded to materialListRoute.
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