Skip to content

Add view for all notes #2

@Insax

Description

@Insax

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions