BuidlGuidl / grants.buidlguidl.com

https://grants-bg.vercel.app
MIT License
3 stars 3 forks source link

Allow admin to add note #108

Closed technophile-04 closed 5 months ago

technophile-04 commented 5 months ago

Description

Demo :

https://github.com/BuidlGuidl/grants.buidlguidl.com/assets/80153681/ec06d002-c79c-4067-9da3-f72cfd539e15

Things handled :

  1. Admin can add note while rejecting grant
  2. Admin can add note while approving grant
  3. User can see the note added by admin (tooltip)
  4. ^ Not sure if tooltip is best suited of this if admin plans to write long notes maybe we could show modal with HTML tag textarea non-editable ?

Things not handled / Kind of confused :

  1. How to handle adding of notes when doing batch operations (Umm maybe we can tell admin to fill note for each of grant we can create an extra modal similar to edit pencil icon and then admin clicks batch button)
  2. There is no way for admin to edit note once submitted (Where do we show this edit button ? Because Admin once mark the grant with approve / reject its gone from /admin until user mark their grant submitted)
vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
grants-bg ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2024 2:22pm
carletex commented 5 months ago

This looks great! Thanks Shiv and Pablo!

How to handle adding of notes when doing batch operations (Umm maybe we can tell admin to fill note for each of grant we can create an extra modal similar to edit pencil icon and then admin clicks batch button)

No notes for batches is fine I think.

There is no way for admin to edit note once submitted (Where do we show this edit button ? Because Admin once mark the grant with approve / reject its gone from /admin until user mark their grant submitted)

This is fine too I think.

For now, I think we have all we need.

Thanks!