Commit Graph

87 Commits

Author SHA1 Message Date
jolavillette
489ecec3a2 webui v158: an invitation must be refusable, and the label was lost in the merges
The Chat badge now counts pending room invitations, but the web UI only offered
to accept one: denyLobbyInvite() exists in the core and was called nowhere. An
invitation left alone therefore kept the badge lit for good, with no action able
to clear it. It can be declined now -- the entry leaves the room list with it,
since it came from the invitation and not from the nearby lobbies.

An invitation also carries no participant count: ChatLobbyInvite has lobby_id,
peer_id, lobby_name, lobby_topic and lobby_flags, and total_number_of_peers only
exists on the records the nearby list returns. The detail panel claimed "0 users"
for every invited room, and the join-failure message read the same missing field
to conclude the room was "no longer advertised by an online participant" --
a wrong diagnosis when the real cause was a refused identity.

The version label also went back to v154 on the way in: the four merges of #23
to #26 each resolved main.js by keeping the lower number, so the branch says
v154 while carrying the code of v157. Set to v158 rather than restoring v157,
since the composer spacing and the invitations landed after it.
2026-08-27 19:48:05 +02:00
defnax
b1394a3935 Improved phone composer spacing
- Fixed to get more space for the text field
2026-08-27 13:34:59 +02:00
defnax
97a4dd5578 Fixed to use counters badges only for new chats 2026-08-27 13:06:22 +02:00
defnax
f716a61298 Fixed issue with edit identity on a phone 2026-08-25 19:14:52 +02:00
defnax
aac62d1268 Fixed issue on Android phone with picture viewing, to able to go back to the app 2026-08-25 18:18:36 +02:00
defnax
d42da25928 Fixed the phone-only channel post overlap 2026-08-24 22:24:38 +02:00
defnax
ae31ed5842 added the stats page 2026-08-22 22:14:53 +02:00
defnax
f148d57b29 Fixed popup dialog to get better visible on a phone 2026-08-18 19:11:00 +02:00
defnax
d659977275 Added avatars before identity nicknames in the chat-room join selection. 2026-08-16 13:50:58 +02:00
defnax
e203558443 Improved the “Add new file” popup for phones. 2026-08-16 13:36:15 +02:00
defnax
62079e1fd7 Improved the ShareManager mobile layout:
Uses nearly the full phone viewport with safe spacing.
Keeps the folder list independently scrollable.
Keeps Add New and Edit buttons visible at the bottom.
Converts folder rows into labeled mobile cards.
Replaces the stray 0 with “No shared folders yet.”
Ensures nested dialogs appear above ShareManager.
2026-08-16 13:17:18 +02:00
defnax
3190b4cb58 Fixes for phones
- The Graph shortcut is hidden from the default friend list.
- After selecting a friend, Network Graph remains available in the detail tabs.
- Desktop behavior is unchanged.
- File and picture attachments now share one paperclip button.
- The message field gains more horizontal space on phones.
2026-08-16 12:06:20 +02:00
defnax
d9a0428a26 Fixed mail composer popup heigth 2026-08-16 11:36:37 +02:00
defnax
4b523cb8ec Fixed issue on phone to view parcipants list 2026-08-15 22:59:21 +02:00
defnax
71688feac2 Fixes Ui issues
- Correct full-certificate friends being incorrectly marked “Pending validation.”
- Refresh identity lists immediately after creating an identity.
Update open chat-room and distant-chat identity selectors automatically.
- Replace the broken signed-identity password popup with a responsive mobile form.
- Allow creation of the first signed identity without requiring an existing signed identity.
Filter temporary all-zero GXS IDs.
- Wait for RetroShare to expose the real generated identity ID.
- Retry identity-detail loading when RetroShare temporarily returns empty data.
- Display the fetched nickname instead of “Unknown.”
2026-08-15 22:43:19 +02:00
defnax
fceefc95bb fixed popup window for phone 2026-08-15 16:37:58 +02:00
jolavillette
241380ff2e webui v140: adapt the inside of the pages to a phone
Loaded last from main.scss, so it wins over the page stylesheets without
!important. Five sections, all scoped to the phone: multi column grids collapse,
wide tables become cards, the statusbar scrolls instead of truncating, form
fields stop triggering the iOS zoom, and anything only reachable on :hover gets
a touch fallback.

Not here any more, because improvements_v2 now does it itself: the navigation
(bottom tab bar and status sheet in main.js) and the master-detail switch of the
network, people and chat pages (.mobile-detail-open, driven from their own
state). This layer starts where those stop.

The two JS changes are the .mails-head and .comments-head markers those tables
need: mithril builds the DOM through the DOM API, so it never gets the implicit
<tbody> the HTML parser would insert, and neither tr:first-child nor a
`> tbody >` path can find the header row.
2026-08-15 15:44:43 +02:00
defnax
209adb6564 Fixed Network active chats
- Fixed. Chat previews
- Implemented unread chat counts
2026-08-15 12:27:39 +02:00
defnax
c7011ff280 Improved chat, network & people pages for mobile phones 2026-08-15 11:50:17 +02:00
defnax
01ead3a0ce Fixed issue with mail composer button & mail composer height 2026-08-14 19:42:23 +02:00
defnax
46876eac9a improvements for mobile phone 2026-08-14 18:48:52 +02:00
defnax
307981e960 Added network graph page 2026-08-14 11:46:11 +02:00
defnax
a0920d297d Added comments badge on the channel Posts thumbnail 2026-08-14 11:21:25 +02:00
defnax
cddee00b69 Added to show avatars for comments 2026-08-14 11:12:20 +02:00
defnax
7e1358e988 removed not needed label 2026-08-14 10:59:42 +02:00
defnax
622b48bbf5 Added option to change your Status in your own status dot 2026-08-14 10:54:07 +02:00
defnax
46a9eb38b2 Improved the Add Friend wizard to focus on textual RetroShare IDs.
Changes include:
- RetroShare ID paste field is now the primary action.
- Supports raw IDs and rsInvite= URL-formatted IDs.
- Empty submissions are disabled.
- Clearer invalid-ID messaging.
- File import and drag/drop remain available as secondary options.
- More polished, responsive wizard styling.
- Accepts text files even when the browser omits their MIME type.
2026-08-14 10:27:23 +02:00
jolavillette
c3f8115a19 forums: the emoji picker was drawing white emojis on a white panel
Clicking the emoji button opened the panel, and clicking inside it did insert an
emoji, but the panel looked empty: the emojis were being drawn, in white, over
white.

The global `button` rule applies the button() mixin, which sets `color: white`
to sit on a coloured background. The picker resets the parts of it that clash --
border, background, box-shadow -- but not the colour, and its own background is
#fff. The category row above the grid was invisible for the same reason.

Found by testing in a browser: nothing in the sources says a button is white
until you follow the mixin.
2026-08-13 14:28:59 +02:00
defnax
a070df6ff2 Improved the Forum thread/reply composer: 2026-08-13 13:27:36 +02:00
jolavillette
059de45e8a webui v137: dvh for the full screen overlays
Mobile browsers count the collapsible URL bar in 100vh, so an overlay sized that
way is taller than the visible area: its bottom, where the buttons usually are,
sits under the fold and cannot be reached. dvh follows the bar as it retracts.

Three sites, all fixed overlays: the global modal backdrop (#popupmessage) and
the two chat dialog overlays. The vh line is kept above the dvh one as a
fallback for engines that do not know the unit and would otherwise drop the
declaration entirely.

styles.css regenerated with the pinned sass 1.97.3.
2026-08-13 12:32:28 +02:00
defnax
21716677d8 Fixed the subscribed Forum page layout
- Added a default Forum thumbnail to the forum details card.
- Added a default Board thumbnail for boards without an uploaded image.
- Added a default Channel thumbnail when no image is set.
2026-08-13 12:03:23 +02:00
defnax
fe90759a55 Improved the Create Identity dialog
- Added persistent avatar preview
- Shows a deterministic jdenticon by default
- Jdenticon updates based on the entered identity name
- Added custom avatar selection
- Shows selected avatar immediately
- Added “Use default” to remove the custom avatar
- Custom avatar is sent for linked and pseudonymous identities
- Updated responsive desktop/mobile layout
2026-08-13 11:20:54 +02:00
defnax
bb40c8cbe5 Fixed the Location Details dialog height. 2026-08-13 11:01:46 +02:00
defnax
53d9a607f8 Added board post feature
Improved create channel post
2026-08-12 21:47:05 +02:00
defnax
fbf2d1c859 Improved forum create 2026-08-12 20:43:39 +02:00
defnax
ae33805f6c Improved Channel & Baord create 2026-08-12 20:06:41 +02:00
defnax
979b5ff902 Added tooltips feature for mail composer 2026-08-12 19:11:33 +02:00
defnax
1fa842eee3 Fixed Text alignment 2026-08-12 18:50:51 +02:00
defnax
6299503bb5 Fixed the forum post clipping.
Cause: the thread view created a second full-height .widget inside the page’s existing .widget. The nested height and overflow rules caused long posts to extend into a clipped area.
Changes:
- Removed the nested full-height widget
The main Forums widget is now the single vertical scroll area
- Added safe wrapping for long text
- Added horizontal scrolling for wide code blocks and tables
- Constrained images, videos, and embeds to the available width
2026-08-12 18:39:56 +02:00
defnax
e7e2c3365e Added to show Location datails 2026-08-12 18:24:54 +02:00
defnax
38118e9c56 Added to use status colored dots instead of the status text string 2026-08-10 20:15:59 +02:00
defnax
98d5409c28 Added missed identity selector for vote board posts
Improved idenity selector on boards/channels loading
2026-08-09 15:15:47 +02:00
defnax
41e995e3c8 Added to show custom status on network page 2026-08-09 14:05:08 +02:00
defnax
f1cb6794df used npm build for webui 2026-08-09 13:25:44 +02:00
defnax
a7b6e9418e Fixing context menu issue on quote message
trying to restore tooltip issue on chat rooms
2026-08-09 11:36:47 +02:00
jolavillette
b8a6e253f7 scss: close the unterminated @media block in _people.scss
The `@media (max-width: 768px)` block opened for the People page was never
closed, so `sass` refused the whole stylesheet:

    Error: expected "}".
    app/scss/pages/_people.scss 427:2  @forward

This is why the styles kept "getting destroyed": `npm run build` could not
produce styles.css at all, and the file had to be maintained by hand.

The closing brace goes before `.people-context-menu`, not at the end of the
file: that rule is written at column 0 under its own header comment, so it
is meant to be a top level rule. Left inside the media query it would only
style the right-click menu below 768px, which is where it is least likely
to be used.

styles.css is regenerated by `npm run build`, which is why it comes back
from 25200 hand-assembled lines to the 7 compressed lines the sass pipeline
emits.
2026-08-08 17:10:58 +02:00
defnax
1f3dfdd020 Fix status spacing issue 2026-08-01 19:56:44 +02:00
defnax
19b0902208 Fixed config pages get compatible for phone
Fixed layout issues for myfiles, friendfiles & search
2026-08-01 00:47:11 +02:00
defnax
709c0022f0 Improved Channels for Phone & Desktop
Fixed channels thumbnail layout issue
Added same comments design from boards to channels
2026-07-30 23:56:39 +02:00
defnax
04d42dc38f Added comments viewer & composer for boards
Added Navbar for webui on phones
for Boards and Channels:
* Validate API responses before processing.
* Keep rendering/navigation functional if a response is incomplete.
* Log a clear warning instead of throwing an uncaught error.
* Use independent sorted arrays, avoiding mutation of the master list.
2026-07-28 23:58:26 +02:00