pulseui icon indicating copy to clipboard operation
pulseui copied to clipboard

pivot losing config.

Open ryanhamilton opened this issue 3 months ago • 4 comments

user: user-nz user-ss user-sit config in URL was too large. Not being stored.

ryanhamilton avatar Sep 09 '25 19:09 ryanhamilton

Able to recreate. Have implemented change to:

  1. Stop relying on URL for all state.
  2. Instead the state will be stored in a >200_000 string column in the database. This is a 100x increase.
  3. Smaller state will still be added to the URL to allow sharing a copy pasted link with most context.
  4. Pulse will intelligently prioritise smaller more important variables rather than huge ones so that if there's still too much data, most context is kept.
  5. On any loss of contaxt on save an error will be shown.
  6. As you approach the limit, a warning will be shown.

ryanhamilton avatar Nov 05 '25 19:11 ryanhamilton

Tests Required

  1. Check saving large dashboard HTML still works.
  2. Successful saving of very large context. (<200,000 chars)
  3. Successful sharing of largish context (<2000 chars)
  4. Warning case of approaching limit.
  5. Error case of limit breached.
  6. SAfe conversion of existing String to new CLOB format.

ryanhamilton avatar Nov 05 '25 19:11 ryanhamilton

Check saving large dashboard HTML still works#354

Image

Successful saving of very large context. (<200,000 chars)

3000 lines. 230_000 characters. Image

Successful URL copy paste sharing of largish context (<2000 chars)

  • Success - < 2000 characters = went into URL - copy-pasted
  • Success - >2000 characters = never went into URL.

Warning case of approaching limit.

Image

Error case of limit breached.

Image

SAfe conversion of existing String to new CLOB format.

ryanhamilton avatar Nov 05 '25 20:11 ryanhamilton

Big change.

Image

ryanhamilton avatar Nov 05 '25 21:11 ryanhamilton