Shows the London Underground line status in the top bar. Follows all tube lines by default; choose which lines and stretches to follow. Powered by TfL Open Data. Not affiliated with or endorsed by Transport for London.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
EGO-X-004 warning
extensions should avoid synchronous file IO in shell code
Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.
extension.js:91
GLib.file_get_contents(CACHE_FILE)
tfl.js:145
GLib.file_get_contents(file)
EGO-L-003 warning
signals connected by extension should be disconnected in disable()
Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.
extension.js:680
entry.clutter_text.connect('activate', () => {
const first = this._adding?.options?.[0];
if (first)
this._choose(field, first);
else if (this._adding?.from && this._adding?.to)
this._finishAdding();
})
extension.js:639
a.addButton.connect('clicked', () => this._finishAdding())
extension.js:663
entry.clutter_text.connect('key-focus-in', () => {
if (!this._adding)
return;
this._adding.field = field;
this._updateAdder();
})
extension.js:61
this.menu.connect('open-state-changed', (_menu, open) => {
if (open && this._isStale())
this._refresh();
if (!open && this._adding) {
this._adding = null;
this._buildEditor();
}
})
extension.js:669
entry.clutter_text.connect('text-changed', () => {
const a = this._adding;
if (!a || a.settingText)
return;
a[field] = null; // Typing again clears the chosen station.
if (field === 'from')
a.to = null;
EGO-L-004 warning
main loop sources should be removed in disable()
Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.
extension.js:646
this._focusId = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
this._focusId = 0;
if (this._adding === a && a.fromEntry.get_stage())
a.fromEntry.grab_key_focus();
return GLib.SOURCE_REMOVE;
})
extension.js:128
this._timerId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, seconds, () => {
this._timerId = 0;
this._refresh();
return GLib.SOURCE_REMOVE;
})
| Version | Status |
|---|---|
| 2 | Unreviewed |
| 1 | Rejected |