iachat/app/policies
Shivam Mishra ca2506a941
feat: allow sorting of articles (#6833)
* feat: sort by position

* chore: whitespace change

* feat: add border bottom color to list item

* feat: allow dragging articles

* feat: add migration to reorder all articles

* feat: add onsort method

* feat: finish UI sorting

* feat: show 50 per page in articles list

* feat: add article sorting methods

* feat: patch up reorder action with the API

* refactor: better naming

* chore: add comments

* feat: attach position to article before create

* feat: move article to end if moved between categories

* chore: add comments

* chore: update version

* fix: don't change position if previous category was nil

* fix: condition to trigger update on category change

* refactor: store new_position

* refactor: use grid instead of table

* feat: add snug spacing

* feat: add grab-icon

* feat: add grab icon to list

* refactor: show draggable only for category page

* feat: add update_positions as a class method

---------

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-04-17 14:43:10 +05:30
..
account_policy.rb feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
agent_bot_policy.rb feat: Add AgentBot APIs (#2323) 2021-06-01 22:34:25 +05:30
application_policy.rb chore: Update dependencies (#1173) 2020-09-08 11:24:08 +05:30
article_policy.rb feat: allow sorting of articles (#6833) 2023-04-17 14:43:10 +05:30
automation_rule_policy.rb fix: Add Attachment endpoint to save file against automation rule (#4480) 2022-04-24 12:02:40 +05:30
campaign_policy.rb feat: Add APIs for Campaigns (#2175) 2021-04-29 22:23:32 +05:30
category_policy.rb feat: CRUD operation for associated articles to current article (#4912) 2022-07-04 20:29:44 +05:30
contact_policy.rb feat: Update API for contact avatar (#4719) 2022-07-12 10:03:16 +02:00
conversation_policy.rb chore: Ensure privilege validations for API endpoints (#2224) 2021-06-11 11:44:31 +05:30
csat_survey_response_policy.rb chore: Add an option to download CSAT Reports (#4694) 2022-05-17 21:01:45 +05:30
hook_policy.rb feat: APIs for Integration Hooks (#2250) 2021-05-17 10:32:59 +05:30
inbox_policy.rb feat: Ability to remove inbox avatar (#2885) 2021-08-31 15:12:05 +05:30
label_policy.rb Feature: Improve label experience (#975) 2020-06-25 21:04:03 +05:30
macro_policy.rb fix: Macros authorizations (#5779) 2022-11-07 17:46:00 -08:00
portal_policy.rb Added one more endpoint to attach tempfile and get logo (#6407) 2023-02-09 14:05:45 +05:30
team_member_policy.rb chore: Update method for team members (#1734) 2021-02-09 19:21:31 +05:30
team_policy.rb feat: Team APIs (#1654) 2021-01-17 23:56:56 +05:30
user_policy.rb Feature: Ability to switch between multiple accounts (#881) 2020-05-26 22:38:48 +05:30
webhook_policy.rb Feature: Ability to switch between multiple accounts (#881) 2020-05-26 22:38:48 +05:30