codecache icon indicating copy to clipboard operation
codecache copied to clipboard

Adding paging to snippets

Open Gauravtb2253 opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. Currently all snippets are shown in a single list. If the list increases it will reduce user experience

Describe the solution you'd like I would like to add paging where some snippets are shown on first page and remaining snippets on next pages

Gauravtb2253 avatar Oct 26 '24 15:10 Gauravtb2253

Sure @Gauravtb2253, but keep in mind to have search and filter feature intact.

notsoocool avatar Oct 27 '24 12:10 notsoocool

actually sir I feel paging wouldnt be much useful in snippets page since we already have searching and filter options later I realized it

So do you have some other idea I could work upon

Gauravtb2253 avatar Oct 27 '24 12:10 Gauravtb2253

Sure see, i can give you few ideas you can work on,

  • Code Execution & Preview

    • Snippet Execution: Allow users to run code snippets within CodeCache (for languages that can be safely executed).
    • Live Preview: Provide a live preview for front-end snippets (HTML, CSS, JavaScript) so users can see output instantly.
  • Personalized Recommendations

    • Snippet Recommendations: Recommend snippets based on users' past interactions, bookmarked items, or snippets they've rated highly.
    • Trending & Popular Snippets: Display trending snippets or a "Top Snippets of the Month" section on the home page.
  • Project & Snippet Organization

    • Snippet Collections: Allow users to create "collections" (similar to playlists) where they can organize related snippets.
    • Project-Based View: Enable users to organize snippets by project, helping users easily access code blocks related to specific projects.

notsoocool avatar Oct 27 '24 12:10 notsoocool

Project & Snippet Organization

Snippet Collections: Allow users to create "collections" (similar to playlists) where they can organize related snippets. Project-Based View: Enable users to organize snippets by project, helping users easily access code blocks related to specific projects.

I would like to work on this Can you explain what is needed and I can start the work

Gauravtb2253 avatar Oct 27 '24 13:10 Gauravtb2253

@Gauravtb2253 its basically just like having a playlist for eg liked songs is same as bookmarked snippet, but playlist are like specific to different mood. open a new issue with this description and i will assign it to you

notsoocool avatar Oct 28 '24 10:10 notsoocool