@otwdesign/db-ui 1.4.2 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,12 +3,18 @@
3
3
  OTW DB's browser app, prebuilt: the page, scripts and stylesheet `@otwdesign/db-core` serves, as one
4
4
  module of strings. You don't use it directly; `@otwdesign/db-core` depends on it.
5
5
 
6
- A visit downloads one script (320 KB, 99 KB compressed) and one stylesheet. The SQL editor's code
7
- is a second script (405 KB, 131 KB compressed), fetched when the first editor opens. Their names
8
- change with their content, so browsers keep them a year.
6
+ A visit downloads one script (323 KB, 99 KB compressed) and one stylesheet (17 KB, 4 KB
7
+ compressed). Two more scripts are fetched when they're first needed: the SQL editor's (405 KB,
8
+ 131 KB compressed) with the first editor, and the Import SQL dialog's (89 KB, 29 KB compressed),
9
+ which reads, splits and checks a file in the browser, when that dialog first opens. Their names
10
+ change with their content, so browsers keep them a year. The build stops if the first script
11
+ grows past 368,640 bytes; it's 322,811.
9
12
 
10
13
  The app works the way TablePlus does: a connection list in environment colors, a sidebar of tables,
11
- tabs, a fast grid with a filter bar, edits reviewed as SQL before they're committed, and a SQL
12
- editor.
14
+ tabs, a fast grid with a filter bar, edits reviewed as SQL before they're committed, a SQL editor,
15
+ and on MySQL and MariaDB an import of SQL files.
16
+
17
+ While the Import SQL dialog is open, Tab stays inside it and the workspace behind it takes no
18
+ focus (`inert`), so the keyboard can't leave a running import for what is behind it.
13
19
 
14
20
  The whole guide: [github.com/OTWSRL/otw-db](https://github.com/OTWSRL/otw-db#readme).