Instead of duplicating special code in MultiStageAboutWelcome.jsx and MultiStageProtonScreen.jsx to navigate to about:home when advancing from the last screen, we should be able to handle it from one place and call some function where each surface implements the "close" behavior: - about:welcome loads about:home - spotlight closes modal
Bug 1754069 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Instead of duplicating special code in MultiStageAboutWelcome.jsx and MultiStageProtonScreen.jsx to navigate to about:home when advancing from the last screen, we should be able to handle it from one place and call some function where each surface implements the "close" behavior: - about:welcome loads about:home - spotlight closes modal This also makes it so we can auto advance from some "middle" screen instead of always closing from the last.