Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d62dec8
Use a TypedArray for a significant performance boost when switching t…
julienw Sep 6, 2024
6d04c5f
Lazy compute labels in the marker chart
julienw Sep 6, 2024
7490806
Instead of storing a lambda for each marker, pass getMarkerLabel down…
julienw Sep 16, 2024
9bbb0e7
Clean-up
julienw Sep 16, 2024
390fe35
Update tests
julienw Sep 16, 2024
9f52d2b
🔃 Daily sync: main -> l10n (September 17, 2024)
Sep 17, 2024
1507cdd
Two optimizations for the marker chart (#5121)
julienw Sep 17, 2024
6248572
🔃 Daily sync: main -> l10n (September 18, 2024)
Sep 18, 2024
caaa4e0
Also check if innerWindowIDs are zero during tab to thread index map …
canova Aug 22, 2024
3498a6d
Add the TabSelectorMenu component
canova Aug 22, 2024
28cc4fc
Add some proper urls to the fixture pages array
canova Aug 22, 2024
22ebc4d
Add simple tests for TabSelectorMenu
canova Aug 22, 2024
7070366
Add TabSelectorMenu to FilterNavigatorBar
canova Aug 22, 2024
9b382a2
Change the cursor of tab selector
canova Aug 25, 2024
2d49cc1
Implement tab switching on tab selector
canova Aug 22, 2024
509d3f8
Add some tests for tab switching behavior
canova Aug 25, 2024
4d37bcd
Make the tab selector scrollable if the list is too long
canova Aug 27, 2024
6c9d3ba
Address the review comments for ProfileFilterNavigator
canova Aug 30, 2024
c2f1e3e
Address the minor review comments
canova Aug 30, 2024
6ff6a50
Do no use container in tests anymore
canova Aug 30, 2024
7997eae
Convert the tab selector span into a button
canova Aug 30, 2024
749683e
Filter first the global tracks before sorting them
canova Aug 30, 2024
5b1b279
Address the last review comments
canova Sep 18, 2024
2b2b434
Hide the tab selector for now
canova Aug 30, 2024
7562508
[Tab selector 5] Add a tab selector component and implement tab switc…
canova Sep 18, 2024
0a021f5
🔃 Daily sync: main -> l10n (September 19, 2024)
Sep 19, 2024
088fe28
Pontoon: Update French (fr) localization of Firefox Profiler
TheoChevalier Sep 19, 2024
2e7bcf1
Pontoon: Update Chinese (Taiwan) (zh-TW) localization of Firefox Prof…
petercpg Sep 19, 2024
3967d19
Pontoon: Update Dutch (nl) localization of Firefox Profiler
markh-bz Sep 19, 2024
6c3a349
Pontoon: Update Italian (it) localization of Firefox Profiler
Sep 19, 2024
32e1789
Pontoon: Update Interlingua (ia) localization of Firefox Profiler
Karm46 Sep 19, 2024
de58f53
Pontoon: Update Frisian (fy-NL) localization of Firefox Profiler
Fjoerfoks Sep 19, 2024
9ed370f
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of Firefox P…
MarceloGhelman Sep 19, 2024
5b59eee
Pontoon: Update Chinese (China) (zh-CN) localization of Firefox Profiler
Olvcpr423 Sep 19, 2024
ce1190e
Pontoon: Update German (de) localization of Firefox Profiler
koehlermichael Sep 19, 2024
6e32e3c
Pontoon: Update Greek (el) localization of Firefox Profiler
asongofghostandfire Sep 19, 2024
29fc944
Pontoon: Update English (Great Britain) (en-GB) localization of Firef…
Sep 19, 2024
885af76
Pontoon: Update Russian (ru) localization of Firefox Profiler
Goudron Sep 19, 2024
b3fb2f7
Pontoon: Update Swedish (sv-SE) localization of Firefox Profiler
Sep 19, 2024
20b8616
Pontoon: Update Ukrainian (uk) localization of Firefox Profiler
LobodzetsViktor Sep 20, 2024
efc8501
Pontoon: Update English (Canada) (en-CA) localization of Firefox Prof…
chutten Sep 20, 2024
de0cd4d
Pontoon: Update Spanish (Chile) (es-CL) localization of Firefox Profiler
RAVMN Sep 23, 2024
5d53dcb
Support profiling from the toolbox in Thunderbird Release (#5135)
julienw Sep 23, 2024
bf1ac66
Add a dedicated symbolication tool (#5123)
richard-fine Sep 23, 2024
91fe71e
Export a tool to extract gecko logs from a profile (#4973)
julienw Sep 23, 2024
84db298
Merge branch 'main' into l10n
julienw Sep 23, 2024
6489759
🔃 Sync: l10n -> main (Sep 23, 2024) (#5136)
julienw Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
steps:
- checkout-and-dependencies
- run: yarn build-prod:quiet
- run: yarn build-symbolicator-cli:quiet

licence-check:
executor: node
Expand Down
7 changes: 7 additions & 0 deletions locales/de/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,13 @@ TabBar--marker-table-tab = Markierungstabelle
TabBar--network-tab = Netzwerk
TabBar--js-tracer-tab = JS-Aufzeichnung

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Alle Tabs und Fenster

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/el/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,13 @@ TabBar--marker-table-tab = Πίνακας δεικτών
TabBar--network-tab = Δίκτυο
TabBar--js-tracer-tab = JS Tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Όλες οι καρτέλες και τα παράθυρα

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/en-CA/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,13 @@ TabBar--marker-table-tab = Marker Table
TabBar--network-tab = Network
TabBar--js-tracer-tab = JS Tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = All tabs and windows

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/en-GB/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,13 @@ TabBar--marker-table-tab = Marker Table
TabBar--network-tab = Network
TabBar--js-tracer-tab = JS Tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = All tabs and windows

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/en-US/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,13 @@ TabBar--marker-table-tab = Marker Table
TabBar--network-tab = Network
TabBar--js-tracer-tab = JS Tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = All tabs and windows

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/es-CL/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,13 @@ TabBar--marker-table-tab = Tabla de marcas
TabBar--network-tab = Red
TabBar--js-tracer-tab = Trazador JS

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Todas las pestañas y ventanas

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
8 changes: 7 additions & 1 deletion locales/fr/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ CallNodeContextMenu--copy-stack = Copier la pile
CallTree--tracing-ms-total = Temps d’exécution (ms)
.title = Le temps d’exécution « total » comprend un résumé de tout le temps où cette fonction a été observée sur la pile. Cela inclut le temps pendant lequel la fonction était réellement en cours d’exécution et le temps passé dans le code appelant cette fonction.
CallTree--tracing-ms-self = Individuel (ms)
.title = Le temps « individuel » n’inclut que le temps où la fonction était en haut de la pile. Si cette fonction a fait appel à d’autres fonctions, alors le temps des « autres » fonctions n’est pas inclus. Le temps « individuel » est utile pour comprendre où le temps a été réellement passé dans un programme.
.title = Le temps « individuel » n’inclut que le temps où la fonction était en haut de la pile. Si cette fonction a fait appel à d’autres fonctions, alors le temps des « autres » fonctions n’est pas inclus. Le temps « individuel » est utile pour comprendre où le temps a été réellement passé dans un programme.
CallTree--samples-total = Total (échantillons)
.title = Le nombre d’échantillons « total » comprend un résumé de chaque échantillon où cette fonction a été observée sur la pile. Cela inclut le temps où la fonction était réellement en cours d’exécution et le temps passé dans le code appelant cette fonction.
CallTree--samples-self = Individuel
Expand Down Expand Up @@ -650,6 +650,12 @@ TabBar--marker-table-tab = Tableau des marqueurs
TabBar--network-tab = Réseau
TabBar--js-tracer-tab = Traceur JS

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.


## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/fy-NL/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,13 @@ TabBar--marker-table-tab = Markearingstabel
TabBar--network-tab = Netwurk
TabBar--js-tracer-tab = JS-tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Alle ljepblêden en finsters

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/ia/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,13 @@ TabBar--marker-table-tab = Tabula marcatores
TabBar--network-tab = Rete
TabBar--js-tracer-tab = Traciator JS

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Tote schedas e fenestras

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/it/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,13 @@ TabBar--marker-table-tab = Tabella marker
TabBar--network-tab = Rete
TabBar--js-tracer-tab = Tracer JS

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Tutte le schede e le finestre

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/nl/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,13 @@ TabBar--marker-table-tab = Markeringstabel
TabBar--network-tab = Netwerk
TabBar--js-tracer-tab = JS-tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Alle tabbladen en vensters

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/pt-BR/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,13 @@ TabBar--marker-table-tab = Tabela de marcadores
TabBar--network-tab = Rede
TabBar--js-tracer-tab = Traçador JS

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Todas as abas e janelas

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/ru/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,13 @@ TabBar--marker-table-tab = Таблица маркеров
TabBar--network-tab = Сеть
TabBar--js-tracer-tab = JS-трассировщик

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Все вкладки и окна

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/sv-SE/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,13 @@ TabBar--marker-table-tab = Markörtabell
TabBar--network-tab = Nätverk
TabBar--js-tracer-tab = JS Tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Alla flikar och fönster

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/uk/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,13 @@ TabBar--marker-table-tab = Маркерна таблиця
TabBar--network-tab = Мережа
TabBar--js-tracer-tab = JS Tracer

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = Усі вкладки та вікна

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/zh-CN/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,13 @@ TabBar--marker-table-tab = 标记表
TabBar--network-tab = 网络
TabBar--js-tracer-tab = JS 追踪器

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = 所有标签页和窗口

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
7 changes: 7 additions & 0 deletions locales/zh-TW/app.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,13 @@ TabBar--marker-table-tab = 標記表
TabBar--network-tab = 網路
TabBar--js-tracer-tab = JS 追蹤器

## TabSelectorMenu
## This component is a context menu that's opened when you click on the root
## range at the top left corner for profiler analysis view. It's used to switch
## between tabs that were captured in the profile.

TabSelectorMenu--all-tabs-and-windows = 所有分頁與視窗

## TrackContextMenu
## This is used as a context menu for timeline to organize the tracks in the
## analysis UI.
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"build-l10n-prod:quiet": "yarn build:clean && yarn build-photon && cross-env NODE_ENV=production L10N=1 webpack",
"build-l10n-prod": "yarn build-l10n-prod:quiet --progress",
"build-photon": "webpack --config res/photon/webpack.config.js",
"build-symbolicator-cli": "yarn build-symbolicator-cli:quiet --progress",
"build-symbolicator-cli:quiet": "yarn build:clean && cross-env NODE_ENV=production webpack --config src/symbolicator-cli/webpack.config.js",
"lint": "node bin/output-fixing-commands.js run-p lint-js lint-css prettier-run",
"lint-fix": "run-p lint-fix-js lint-fix-css prettier-fix",
"lint-js": "node bin/output-fixing-commands.js eslint *.js bin src --report-unused-disable-directives --cache --cache-strategy content",
Expand Down Expand Up @@ -78,6 +80,7 @@
"jszip": "^3.10.1",
"memoize-immutable": "^3.0.0",
"memoize-one": "^6.0.0",
"minimist": "^1.2.8",
"mixedtuplemap": "^1.0.0",
"namedtuplemap": "^1.0.0",
"photon-colors": "^3.3.2",
Expand Down
14 changes: 0 additions & 14 deletions src/actions/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import type {
UrlState,
UploadedProfileInformation,
IndexIntoCategoryList,
TabID,
} from 'firefox-profiler/types';
import type { TabSlug } from 'firefox-profiler/app-logic/tabs-handling';
import type {
Expand Down Expand Up @@ -429,16 +428,3 @@ export function toggleOpenCategoryInSidebar(
category,
};
}

/**
* Change the selected browser tab filter for the profile.
* TabID here means the unique ID for a give browser tab and corresponds to
* multiple pages in the `profile.pages` array.
* If it's null it will undo the filter and will show the full profile.
*/
export function changeTabFilter(tabID: TabID | null): Action {
return {
type: 'CHANGE_TAB_FILTER',
tabID,
};
}
Loading