Skip to content

Conversation

@Ujjansh05
Copy link
Contributor

@Ujjansh05 Ujjansh05 commented Oct 22, 2025

Summary: Update on [BUG] #599
Change default visible table naming so newly created tables are named sequentially as
"table 1", "table 2", etc. The generator now scans existing table names that match
/^table[_ ](\d+)$/ (underscore or space) and picks the next integer. Internal ids
remain nanoid() values; only the visible name format changed.

2025-10-2300-10-27-ezgif com-crop

What changed:

  • Default table name for newly created tables changed from a random nanoid suffix to
    "table N" (space).
  • Computation happens inside the functional setTables(...) update to avoid race conditions.
  • Existing non-numeric names (e.g. table_BnY...) are ignored when computing the next number.

Why:

  • Improve readability of default table names and provide predictable sequencing for new tables
    while keeping internal ids unchanged to avoid breaking other logic.
    -it looks minimlistic

@vercel
Copy link

vercel bot commented Oct 22, 2025

@Ujjansh05 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Ujjansh05
Copy link
Contributor Author

Ujjansh05 commented Oct 22, 2025

You will not get more issue regarding this bug from right now. I had a quite a time to resolving this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant