Skip to content

Issue #352 - Improve the overall design of the reports#359

Merged
craigfowler merged 22 commits into
masterfrom
craigfowler/issue352
Jun 7, 2026
Merged

Issue #352 - Improve the overall design of the reports#359
craigfowler merged 22 commits into
masterfrom
craigfowler/issue352

Conversation

@craigfowler

Copy link
Copy Markdown
Member

This is mainly about introducing a new concept of a "view mode". At present the only one I support is "Features and scenarios" but I have plenty of upcoming issues in which I want to allow the user to read reports in other ways. This should make it possible to get maximum value from reports, such as diagnosing errors, diagnosing performance issues, accessing assets etc.

This also brings many improvements which make it easier to read the reports on handheld devices.

Resolve #352.

This is a prototype/mockup design that I'm working on.
This is mainly about the main View Mode UI and
also making the report somewhat responsive.
Also remove the feature/scenario IDs which
we don't really have space to render in responsive
mode.
Includes a lot of work on making the features view responsive.
The redesign means that horizontal space has been saved on
quite a few elements, so that the page works better on handheld
browsers.
The icons to the right of the report were too small in mobile layouts.
This makes them larger.  I've opened #358 to add a compressed mode
which will resize them back to 1em.
I should audit the test coverage after this has built.
I wonder if there's anything I should improve upon.
Also, as part of this, I upgraded Jest to latest.
This is getting large enough that I could really
use type support for my JS.
This is now set up so that the project builds OK and
tests run OK.
Since I last tried Flow out 6-8 years ago, it has decidedly lost
the battle for adoption to TypeScript.  I've found it outdated
and struggling to keep up with the JS ecosystem since I added
it to this project.  As such I'm stripping Flow back out and I will
switch to TS in a forthcoming commit.
Flow for JS is out of favour in the open-source world.
It has been largely abandoned by the community in favour
of TypeScript.  So, that's no longer a good choice for this
project.  Given I'm switching one client tech, I also revisited
another: Webpack & Babel.

I've now dropped both of thos in favour of Vite, which is
more modern and supports TS out of the box.  TS has better
dev & authoring support too.  This also led me to drop
Jest in favour of Vitest.

This commit completes the pivot away to those other techniques.
The project is now at the point where everything builds and passes
tests correctly once again.  A few files are yet to be converted to
TS.
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2026

Copy link
Copy Markdown

@craigfowler
craigfowler merged commit 787c14e into master Jun 7, 2026
3 checks passed
@craigfowler
craigfowler deleted the craigfowler/issue352 branch June 7, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design the view-mode functionality

1 participant