Skip to content

Browser Extension Design

Ed Mozley edited this page Dec 6, 2026 · 1 revision

🧩 Browser extension - design

Status: AGREED Β· 6 December 2026 Β· stages 1-2 BUILT the same evening (ships in 6.1.0, extension 1.2.0)

User page: Browser Extension. Developer guide: Browser Extension - Developer Guide.

The request

Ed, 6 December 2026: the extension "has not had much TLC in a long time" - make it more dynamic, include more modules, make sections clickable so they open FreeITSM, without falling over on an older FreeITSM that is missing modules - and "should we consider making API keys that are tied to an analyst so the browser extension shows YOUR data".

What it was

  • Nine cards hard-coded in the extension, English only; only Open dashboard is a link.
  • Already tolerant of a missing card (each hides when the server sends nothing), but a new card needed a new store release.
  • The key came from Software β†’ Settings β†’ API Keys - the inventory agents' kind of key - and belonged to whoever made it. Most analysts cannot open Software settings, so one key was often made by an administrator and shared by a team: everyone saw that administrator's summary, and always Everything.

The shape

  1. Personal keys - each person connects their own browser with Connect (nothing to copy); System β†’ Browser extension decides who may; Preferences β†’ Browser extension lists your connections. Only a hash is stored; every request re-checks the person.
  2. Mine / My teams / Everything in the extension settings (Watchtower's own switch, #58).
  3. Old Software keys move out of the extension: a key an inventory agent has used stops at once; any other keeps working for 30 days, with a yellow line in the popup and a banner for the administrator. Inventory is unaffected.
  4. (next) The server describes the cards - title, number, lines, a link on each - already translated and only for modules the person can open; the extension draws whatever it gets, and falls back to today's cards on an older FreeITSM. New modules then arrive with a FreeITSM upgrade, no store release.
  5. (next) Clickable - every card and line opens FreeITSM at the right list or record (links built by the server, by id).
  6. (next) New cards from the shared reads: my tickets and SLAs about to breach, my tasks due, approvals waiting (changes and requests), starters this week, licences renewing, projects off track - a tick list in the extension settings of whatever the server offers.

Decided (Ed, 6 December 2026)

# Question Decision
1 Where people get a key Their own, made by themselves (Connect; Preferences as the fallback) - admins see and remove them on System β†’ Browser extension
2 Default view Mine for new set-ups; existing users keep Everything until they change it, so nobody's view changes on upgrade
3 Choosing cards A tick list of whatever cards the server offers (stage 4)
4 New cards The list above, in that order
5 Old shared keys (Ed: "we mustn't break inventory on everyone's machines") Inventory untouched. A key an agent has used stops opening the extension straight away; any other old key works for 30 days, with the date shown in the popup and a count on System β†’ Browser extension
6 Who may connect (Ed: "some random person on the internet can just cut themselves a key?" - no: Connect needs a FreeITSM sign-in and reads only what that person sees) A setting: only the people an administrator ticks (default - today an administrator hands out keys), anyone with Watchtower access, or nobody. Every connection and change is logged
7 One key shared by many analysts (Ed: "do you think this is likely?") Likely; each person now connects their own, which also stops everyone seeing the key-maker's summary

Not included

  • Firefox (needs a gecko id and MV3 background testing).
  • Writing anything from the extension - it stays read-only.

FreeITSM

Getting Started

Modules

Multi-tenancy (planned)

Responses to feedback

Blue sky thinking

Bugs resolved

Pull requests

Links

Clone this wiki locally