Skip to content

feat: add timed docs to top nav #570

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
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

MitanOmar
Copy link
Member

No description provided.

@MitanOmar MitanOmar requested a review from a team as a code owner January 9, 2025 15:31
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch 2 times, most recently from 2f4a26f to f15114a Compare January 9, 2025 15:50
@MitanOmar MitanOmar self-assigned this Jan 9, 2025
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from f15114a to 13f9bdc Compare January 9, 2025 15:57
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from 13f9bdc to a4385aa Compare January 20, 2025 09:35
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from a4385aa to 18c6207 Compare January 20, 2025 09:42
@MitanOmar MitanOmar requested a review from c0rydoras January 20, 2025 09:44
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from f4a2ffd to d342948 Compare March 20, 2025 14:25
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch 4 times, most recently from b887296 to 88a69ad Compare March 20, 2025 15:55
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from 88a69ad to 593b203 Compare March 20, 2025 15:59
@MitanOmar MitanOmar requested a review from c0rydoras March 20, 2025 16:07
@MitanOmar MitanOmar enabled auto-merge (squash) March 20, 2025 16:08
@MitanOmar MitanOmar disabled auto-merge March 20, 2025 18:47
@MitanOmar MitanOmar enabled auto-merge (squash) March 21, 2025 10:20
@MitanOmar
Copy link
Member Author

@c0rydoras anything else ?

@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from 9d53d35 to f82a919 Compare March 24, 2025 09:05
@MitanOmar MitanOmar requested a review from c0rydoras March 24, 2025 09:09
@MitanOmar MitanOmar requested a review from derrabauke April 10, 2025 07:54
@MitanOmar
Copy link
Member Author

image

@MitanOmar MitanOmar requested a review from derrabauke April 10, 2025 11:20
Comment on lines 20 to 28
const routes = {
"/attendances": "tracking/attendances",
"/reports": "tracking/timesheet",
"/analysis": "analysis",
"/statistics": "statistics",
"/projects": "projects",
"/users": "users",
"/": "tracking/activities",
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

you could import these from the service, that way we have less redundancy (you'll have to export ROUTE_DOCS_MAPPING for that)

}

get docsURL() {
return ROUTE_DOCS_MAPPING[this.router.currentRouteName] || "";
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick

Suggested change
return ROUTE_DOCS_MAPPING[this.router.currentRouteName] || "";
return ROUTE_DOCS_MAPPING[this.router.currentRouteName] ?? "";

@MitanOmar MitanOmar requested a review from c0rydoras April 23, 2025 12:48
@MitanOmar MitanOmar force-pushed the Add-Timed-Docs-To-Top-Nav branch from a45a15b to d928843 Compare April 23, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants