discourse/app
Alan Guo Xiang Tan 7b907ec50a
DEV: Fix flaky table builder system spec (#25272)
Why this change?

The `Table Builder when editing a table when cancelling table creation should close the modal if there are no changes made` system
test in `spec/system/table_builder_spec.rb` was flaky. It turns out that
when the modal is opened, we have to load some JS/CSS files. While that
is happening, the modal is actually not functional and clicking stuff
in the footer can actually result in an error. In this case, the
`interceptCloseModal` calls the private `_hasChanges` function which
then calls `this.spreadsheet.getHeaders()`. When stuff is still loading,
`this.spreadsheet` has not been set. As a result we get the following
error:

```
Cannot read properties of null (reading 'getHeaders')
```

What does this change do?

Why stuff is loading, we will now hide the footer in the modal.
2024-01-16 10:48:49 +08:00
..
assets DEV: Fix flaky table builder system spec (#25272) 2024-01-16 10:48:49 +08:00
controllers FEATURE: Allow sorting group members by custom field via API (#25061) 2024-01-11 13:39:17 -03:00
helpers DEV: Simplify ember-cli proxy strategy (#24242) 2023-11-10 11:16:06 +00:00
jobs FIX: refactor calling of timed backup deletion 2024-01-08 15:41:00 -05:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models DEV: Compile theme migrations javascript files when running theme qunit (#25219) 2024-01-16 09:50:44 +08:00
serializers DEV: Add skip_migrations param when importing remote theme (#25218) 2024-01-11 14:04:02 +08:00
services FEATURE: Prefer topic_embed's cached content when summarizing (#25190) 2024-01-09 14:00:01 -03:00
views FIX: set microdata schema for topic on missing first post (#25195) 2024-01-12 16:29:03 +05:30