Automattic / bugomattic

Bugomattic is a tool that guides bug reporters to the right actions within large, complex organizations
GNU General Public License v2.0
6 stars 0 forks source link

[Task - Other]: Don't store nullish/empty values in the URL #69

Closed dpasque closed 1 year ago

dpasque commented 1 year ago

Details

Right now, the minute you do a history updating action in the site, you get this giant URL!

This is because we are taking all of the tracked state and serializing it in the URL. However, we don't need to serialize all of it all of the time. If things have nullish values (like empty arrays, empty strings, null, undefined), we can just leave that property out of the URL. This will make the URL simpler, and more inviting for people to punch values in or bookmark, etc.

In short, everything in the URL will be meaningful!

Checklist