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

[Docs] Hyperlink added for each Role name from Permissions Reference page to Roles page #338

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

SAHU-01
Copy link
Contributor

@SAHU-01 SAHU-01 commented Jul 28, 2024

Notes for Reviewers

This PR fixes #321

A hyperlink for all available roles in doc has been added and the ones that are not documented in Roles for now (ex: User) are redirected to the default roles page.

Refer to the changes below:

Screen.Recording.2024-07-28.at.10.52.53.PM.mov

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Jul 28, 2024

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit aa05607
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-pegasus-b0ce81/deploys/66a802e54a982d00099bdc7d
😎 Deploy Preview https://deploy-preview-338--bejewelled-pegasus-b0ce81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dragon-slayer875
Copy link
Contributor

@SAHU-01 As stated by Lee in the issue comments, please make it so that the links open in the same tab, rather than a new one.

Moreover, I wonder if you can use string slicing to take the first word from the column header and put in the in the URL, instead of using conditional cases.

Can you try that?

@SAHU-01
Copy link
Contributor Author

SAHU-01 commented Jul 29, 2024

@dragon-slayer875 sure let me try this and get back to you real quick!

@SAHU-01
Copy link
Contributor Author

SAHU-01 commented Jul 29, 2024

@dragon-slayer875 I'm afraid that wouldn't be possible if you take a closer look at the conditions, you'll see the sections do not follow a generic URL when mapped, so there is a need to map each of them individually, but please correct me if I'm wrong.

@dragon-slayer875 dragon-slayer875 merged commit 337c3c3 into layer5io:master Jul 29, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Docs] Hyperlink each Role name from Permissions Reference page to Roles page
2 participants