Conversation
* Based on commit b2379f78.
* Disable styles to make it build.
Specifying the node_modules directory as an includePath makes sass-loader able to find .scss files while using the recommended @use at-rule. Related links: * https://github.com/webpack-contrib/sass-loader/blob/master/README.md#api * https://github.com/webpack-contrib/sass-loader/blob/afbe114fecf54fa99ef635aea5ae1d3db6a119c1/src/index.js#L41-L60 * https://sass-lang.com/documentation/js-api/interfaces/Options#loadPaths
* Remove the frontend-linter job, as the linter runs when building the application.
Pull Request Test Coverage Report for Build 2147404312
💛 - Coveralls |
Pull Request Test Coverage Report for Build 2148228861
💛 - Coveralls |
Note that fonts recommended by EOS are commented now because we have to make some additional changes to have them working with webpack. See fontsource/fontsource#407
Still not complete.
This was referenced Apr 11, 2022
This was referenced Apr 11, 2022
Contributor
Just for the record, problems with fonts were fixed at #131 |
dgdavid
added a commit
that referenced
this pull request
Nov 15, 2023
Another boring PR for keeping dependencies up-to-date via `npm update` and `npm install @package/name@latest`. No more `--lockfile-version 2` because [OBS already supports version 3](https://github.com/openSUSE/obs-service-node_modules/blob/2153192f0baf8453c12bacf7b872c0c786ed645f/node_modules.py#L342-L343) as we realized at #843 Please, note that this time we manage to get rid of some dependencies which were there because cockpit-starter-kit (see #127) but actually not needed anymore. In fact, they are no longer dependencies of starter-kit. Namely, * [core-js](https://github.com/zloirock/core-js) - As a weird side effect, few tests were _fixed_ to wait a bit for the expected content. Some black magic around _Promise.resolve_, I guess. Honestly, I didn't dig too further on it since waiting for the content is somehow _expected_. * [stdio](https://github.com/sgmonda/stdio) * [sizzle](https://www.npmjs.com/package/sizzle) Apart from these, [regenerator-runtime](https://github.com/facebook/regenerator) was dropped too because > It was added more than a year ago in the context of "Adapt React > components to the Starter Kit". But probably is no longer needed since > async functions, ES6 generators, and `yield` JavaScript operator have > broad support among major browsers. --- * [web] Update dependencies via `npm update` * [web] Update icons packages to their latest version * [web] Update Patternfly libraries to latest version * [web] Drop core-js dependency It was added because of cockpit-starter-kit[1] but they already dropped it[2] because > starter-kit does not use it directly, and none of our derived projects > have it. Thus, in principle it does not make sense to keep it as Agama dependency. As weird side-effect, a few test were fixed to "waitFor" the expeced content. [1] 55c75c3 [2] cockpit-project/starter-kit@67c1c06 * [web] Update fast-sort to its latest version * [web] Update ippadr.js to its latest version * [web] Drop regenerator-runtime dependency It[1] was added more than a year ago[2] in the context of "Adapt React components to the Starter Kit". But probably is no longer needed since async functions, ES6 generators, and `yield` JavaScript operator have broad support among major browsers. [1] https://github.com/facebook/regenerator [2] 55c75c3 * [web] Update sprintf-js to the latest version * [web] Update typedoc and related dependencies * [web] Update webpack and related dependencies * [web] Update stylint and related dependencies * [web] Update @babel and related dependencies * [web] Update cspell dev dependencies * [web] More babel dev dependencies updates * [web] Update eslint and eslint-config dependencies * [web] Update eslint-plugin dependencies * [web] Update jest dependencies * [web] Update jsdoc dependency * [web] Update sass dependencies * [web] Update terser-webpack-plugin * [web] Drop stdio dev dependency It was there because cockpit-starter-kit, which dropped it a year ago[1][2] [1] cockpit-project/starter-kit#590 [2] cockpit-project/starter-kit@6e1fd84 * [web] Drop sizzle dev dependency Which came from cockpit-starter-kit. It was dropped there few months ago, in Jun 2023[1] [1] cockpit-project/starter-kit@1e46595 * [web] Update qunit dev dependency to latest version * [web] Update mini-css-extract-plugin * [web] Update ajv dev dependency * [web] Update @testing-library dependencies * [web] Update @typescript-eslint dependencies * [web] Update @types/jest * [web] Adapt FileViewer test For waiting for the expected content * [web] Fix NetworkPage test Remove a leftover it.only and make examples wait a bit for the expected content. * [web] Little improvement in Sidebar test * [web] Update ProductPage test For waiting a bit to find the expected content
dgdavid
added a commit
that referenced
this pull request
Sep 16, 2024
Which comes from the cockpit-starter-kit (see #127) but it is actually not needed since Agama does not use flowtype's annotation. What is more, it isn't a cockpit-starter-kit dependency anymoer, see cockpit-project/starter-kit@ab04f35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Once we decided to rely on Cockpit, it makes sense to develop this UI as a regular module. Cockpit allows to:
cockpit-desktophelper). Handy for Skip authentication when installing from localhost #120./cockpit/@localhost/d-installer/index.html).So we do not find any limitation that justifies building the web UI in a different way.
This PR is based on Cockpit's starter kit, although we decided to drop some parts and introduce some small changes.
Relevant changes
src/libis reserved now for Cockpit files. Our client has been moved tosrc/client.useEffectin the wrong way.cockpit-d-installer.Pending
src/components. On a different PR.