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 view for all notes #2

Open
Insax opened this issue Jul 14, 2018 · 0 comments
Open

Add view for all notes #2

Insax opened this issue Jul 14, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Insax
Copy link
Member

Insax commented Jul 14, 2018

Idea:

To Simplify usage for Admins, we add a new view for all notes

Implementation:

Add a new route notes/all, protect Route with middleware 'role: Admin'.
Edit app/Http/Controllers/NotesController.php and Fetch all notes with pagination (20 entrys, sorted by title alphabetically)
Add new link in navbar dropdown (right side), check Auth::user()->hasRole('Admin');
We only print overview data, so if user wants to see the full content, he has to visit the /notes/show/id route

Frontend:

The Format should be similar to the appended tables which are added in /home route (search stuff)
Add proper formatted table / panels / tabs / whatever to /notes/all page maybe assign frontend developer to that task.

@Insax Insax added enhancement New feature or request good first issue Good for newcomers labels Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants