Commit Graph

31 Commits

Author SHA1 Message Date
jolavillette
0d072650ee build: drop build.ps1 and keep the standard sass pipeline
build.ps1 (and the matching hunk of build.sh, dropped while rebasing)
worked around the broken stylesheet by concatenating raw .scss sources onto
the end of the generated styles.css:

    $extraCss += Get-Content "$src\app\scss\pages\_board.scss"

That ships SCSS to the browser. Nesting, `&`, `@use` and variables are not
CSS, so everything after the first nested block is dropped by the parser,
which made the result look randomly broken and fed the same manual fixing
loop.

With the missing brace fixed in the previous commit, `sass` compiles the
whole tree again and the workaround has nothing left to work around.
build.ps1 was also unreachable: make-src/build.js dispatches win32 to
build.bat, never to a PowerShell script.
2026-08-08 17:10:58 +02:00
jolavillette
2186feea58 Merge master into improvements_v2
Brings the branch up to date with master so #121 can be merged again.

Eight files needed a decision. The branch predates 41111cb ("restore WebUI
styles in SCSS sources"), which recovered into the SCSS a number of rules
that until then existed only in the compiled styles.css, so most conflicts
are that recovery meeting the changes made here. Where both sides describe
the same element the branch's version is kept; where master's rule is a
positioning context the branch has no equivalent for, master's is kept:

  * _chat.scss - master's attach-modal, emoji-picker, rightbar context menu
    and create-lobby-button rules are kept alongside the compact-message
    styles added here. Taking either side whole would have dropped about
    450 lines. .chat-own-profile-card, .chat-hub-rightbar and
    .chat-hub-rightbar .user keep `position: relative`, because
    .chat-create-lobby-btn and .rightbar-context-menu are still declared
    `position: absolute` further down and would otherwise escape to the
    initial containing block. For .user-tooltip the branch's `position:
    fixed` rework wins, and master's `.chat-hub-rightbar .user-tooltip
    { left: -275px }` offset is dropped since it would fight a fixed
    element.
  * _people.scss - master's restored .friends-list-container context menu
    is kept; the pane rules it also restored are shadowed by the branch's
    own !important versions and were dropped as dead code.
  * boards_util.js - the revived updateContent() and the in-flight dedup in
    updateDisplayBoards() are kept. Master's side of the first two hunks
    was comment reformatting only.
  * board_view.js - the rewrite here is kept whole. Master's only change
    since the fork point was `let reader` -> `const reader`, in code the
    rewrite replaced.
  * chat.js - the modals moved out one nesting level here; that structure
    is kept.
  * chat_state.js - `require('people/people_util')` is not restored. It is
    unused, which is why 35c5c17 removed it.
  * build.sh - master's version. The change here concatenated raw .scss
    onto the generated CSS; see the following commits.
  * styles.css - regenerated, see the following commits.
2026-08-08 17:10:48 +02:00
Sumit Kumar Soni
6eada33d47 build: make WebUI npm scripts cross-platform 2026-08-03 01:06:46 +05:30
Sumit Kumar Soni
35c5c17309 build: modernize WebUI build and lint tooling 2026-08-02 20:46:00 +05:30
defnax
f144a85a73 improved mail view on phones
Fixed css issues
2026-07-26 23:06:56 +02:00
defnax
6fa597ea15 Improved for phone the webui pages
Added Board posts display
Added for Network to list last Chats
2026-07-26 20:50:14 +02:00
zelfroster
f84e5ff4cb chore: remove -r flag from build.sh as index.html is not a directory 2023-08-26 14:59:06 +05:30
zelfroster
85d24baecc chore: update readme 2023-08-22 13:22:26 +05:30
zelfroster
078baef18d chore: remove data dir and move images to assets dir, update image paths 2023-08-22 10:40:19 +05:30
zelfroster
b7f4d96694 chore: move html and css file to root webui-src directory and update build scripts 2023-08-22 10:38:46 +05:30
zelfroster
18673e1b3b chore: remove old and unused files 2023-08-21 16:12:37 +05:30
zelfroster
efc859e6f1 feat: update paths and folders in build files to properly build the app 2023-04-05 01:08:49 +05:30
thunder2
4862f863a9 Fixed Windows build with qmake 2023-03-19 21:28:10 +01:00
thunder2
5cbec7fa94 Fixed Windows build script 2022-06-22 07:49:25 +02:00
Mohammed Saud
8564c38970
Add editor config and update additional lint rules (#29)
* add editor config and additional lint rules

* add prettierignore config
2021-04-15 23:52:49 +05:30
Zener
9e202a99a4 added data folder into build.sh script for development only 2020-12-19 17:51:15 +01:00
Mohammed Saud
be0056d072 improve require() functions module detection 2020-01-15 19:11:24 +05:30
rottencandy
8e2276ca74 Separate network tab stylesheet 2019-07-30 14:35:28 +05:30
rottencandy
20f4c9864d move assets dir outside of app
This allows for recursive directory searching of css files inside
app directory which was previously not possible due to css files
being stored in assets directory.
2019-07-30 12:20:51 +05:30
rottencandy
99ca635f40 Add minor rendering optimizations
File display flickers when it's underlying map is cleared on each
render. Should now clear only if there are changes in the cached
file lengths.
2019-07-28 19:45:33 +05:30
rottencandy
1c647f0029 Change shebang from bash to sh 2019-07-27 19:29:08 +05:30
rottencandy
92400bf3a0 Fix shopt bug, add automatic css building 2019-07-27 19:25:04 +05:30
rottencandy
4c34a4103c Decompose config tab to multiple components
The config_resolver.js file will be used to handle the /config route
and can take in extended path for proper resolving.
The require polyfill does not have the concept of directories and
multiple paths so the name has to be preceeded by "config_" until
that is fixed.
2019-07-17 19:38:56 +05:30
rottencandy
095c919999 Add Font Awesome files
The css and ttf files for font awesome icons has been included in
assets folder. With modified build script to copy at qmake compile.
2019-07-13 16:08:19 +05:30
rottencandy
9a84225e82 Revamp button design 2019-07-04 21:49:58 +05:30
rottencandy
1977735237 Display info for node panel in config tab
Display public information(from preferences>Node in RS).
2019-06-26 02:55:06 +05:30
rottencandy
c118d6363b Add config tab section.
Config tab will be used to display node details and
settings/configuration options for both RS and the WebUI.
2019-06-20 22:47:31 +05:30
rottencandy
4c0ac58f50 Add Floating navbar. 2019-06-17 23:49:43 +05:30
rottencandy
7ab2d8ff35 Fix downloads progress bar css 2019-06-16 15:08:19 +05:30
rottencandy
b6e1517c19 Implement basic css styles
The existing css has been disabled for the moment and a new css
file theme.css has been created. Respective components modified to
reflect changes for css selectors.
2019-06-09 00:03:34 +05:30
csoler
484b81bffb first brand, extracted from old web UI 2018-12-30 23:33:28 +01:00