This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app
Penar Musaraj 343037b022
FIX: Bug with permanent delete modal (#18825)
Repro steps:
- enable permanent deletes (via hidden site setting)
- set `min_topic_views_for_delete_confirm` to 0

When permanently deleting, the delete confirm modal is shown (for a
second time) and it doesn't pass the `force_destroy` parameter to the
request and the action results in a 422 error (i.e. can't perma-delete).

This change skips showing the confirm modal when perma-deleting given
that it has already been show on the first delete action.
2022-11-04 14:49:19 -04:00
..
adapters FIX: Avoid duplicate topic-list requests (#18073) 2022-08-24 11:54:01 +01:00
components FIX: restore mention tab for experimental user nav (#18882) 2022-11-04 14:07:41 -04:00
controllers FIX: Bug with permanent delete modal (#18825) 2022-11-04 14:49:19 -04:00
helpers FEATURE: site setting to disable usernames in share links. (#18315) 2022-09-22 23:12:39 +05:30
initializers Reduce theme/color-scheme cookie cookie duration (#18858) 2022-11-03 11:31:16 +00:00
lib UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
mixins FIX: Correctly debounce various functions (#18673) 2022-10-20 13:28:09 +02:00
models UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
modifiers DEV: Install ember-modifier and @ember/render-modifiers (#17595) 2022-07-21 18:12:29 +01:00
pre-initializers DEV: Clean up pre-initializers (#18680) 2022-10-26 09:19:54 +08:00
raw-views DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
routes UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
services FIX: 404 sending beacon "leave all" on subfolder install 2022-09-27 19:57:38 +01:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates DEV: Use action helper in bulk-tag modal (#18885) 2022-11-04 17:26:31 +00:00
widgets FIX: Evaluate all callbacks rather than override them (#18788) 2022-10-31 10:13:56 +08:00
app.js DEV: Normalize event handling to improve Glimmer + Classic component compat (Take 2) (#18742) 2022-10-26 14:44:12 +01:00
index.html DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00
mapping-router.js DEV: Clean up pre-initializers (#18680) 2022-10-26 09:19:54 +08:00