Skip to content

chore: improve cf deployment flow#293

Open
IzioDev wants to merge 100 commits into
masterfrom
chore/ci-deploy
Open

chore: improve cf deployment flow#293
IzioDev wants to merge 100 commits into
masterfrom
chore/ci-deploy

Conversation

@IzioDev

@IzioDev IzioDev commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

No more UI opening.

IzioDev and others added 30 commits October 10, 2025 17:33
- refactor component a tad
- remove some redundnant imports
- reduce toast duration on mode switch
- remove some dodgy animation delays in hopes to make the holdable +
  more responsive
## what?
re-designs the presentation of the toasts (from being just a screen
list) to having some depth.
shows a max of 3 at a time. gives some nice(r) animations etc.

<img width="468" height="187" alt="image"
src="https://github.com/user-attachments/assets/328ec0b6-1929-4219-bc30-91b32d505712"
/>

## test:
add something like this to message provider to spam a whole bunch of
toasts:

```
  useEffect(() => {
    const toastTypes = ["success", "error", "warning", "info"];

    const generateRandomMessage = () => {
      const length = Math.floor(Math.random() * (100 - 5 + 1)) + 5;
      const chars =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ";
      let result = "";
      for (let i = 0; i < length; i++) {
        result += chars.charAt(Math.floor(Math.random() * chars.length));
      }
      return result;
    };

    const interval = setInterval(() => {
      const randomType =
        toastTypes[Math.floor(Math.random() * toastTypes.length)];
      toast[randomType](generateRandomMessage());
    }, 1000);
    return () => clearInterval(interval);
  }, []);
```

## what else?
adds donation address to the logged in settings screen
adds toast for message import import (initiate and completion)
adjust hold-able + button
remove toast removal on all route changes
reduce toast duration on mode switch
## what?
adds network connection indicator on mobile (top overlay) and desktop
(right hand side)
red is disconnected 
yellow is disconnected and connecting
green is connected (and fades in 5s)
HocusLocusTee and others added 28 commits January 30, 2026 18:21
## what?
updates the use of the term 'wallet' to 'account' in user facing
components.
mainly to lower the conceptual barrier and not to lead people into
thinking kasia should be used as a wallet.

note: not worth doing this to our internal components. I think its a
fine abstraction.
## what?
adds 'pending, active, failed' message status to direct messages and
payments.
follows the current broadcast approach.

handshakes have _not_ been done as they are a little more complicated.

followup tasks from this:
- add custom fees to 'payments' (custom fees should exist for wallet
withdrawals and handshakes as well, but payments should have some
urgency due to its UX)
- extend status into handshakes
- add rbf for pending tx
- refactor message ingestion once vccv2 is out in the real world
wip: block lists

refactor: tidy settings menu

feat: further bcast

chore: color, component name

fix: misc

- tidy up var names
- some styling
- load block list before handshakes
- really make sure we dont get handshakes for blocked messages

feat: add generic confirmation modal

refactor: block core functionality

- all blocks are now block and delete
- lift method to store

feat: add default channel

feat: move blocked button on directs to contact list

feat: multiple items

- post rebase cleanup
- delete blocked-store for tenant ID
- add import export for blocked addresses
- bring settings modal into modal system

style: transition new chat instead of present new modal

style(fix): remove redundant conditional on locked home
## what?
initial 'block a contact' feature

adds:
ability to block from broadcasts or directs contact info pane
ability to see blocked addresses and a broadcast vis option in settings

stores the blocked address in db (also has the capacity for a 'reason')
- note: my initial version included a reason field and allowed users to
block an address straight from the settings, but I removed this as it
was a little complicated handling the visibility states etc. So atm, we
have no UI to add a reason and no way to block a contact unless its on
their contact card.

blocking will delete any in db contact or messages. BUT in bcasts you
will either still see a "Blocked Contact" message or no message
(depending on your settings)

also adds `kasia-general` as a default initial channel. users can block
now so this seems reasonable?
- move markdown rendered to own component
- add conditions on broadcast image and link rendering
- add alert to link navigation

- refactor/chore: remove rehype and clean up md renderer
## What?
adds markdown rendering to messages

by default, all clients will render Markdown messages if they include
the `MARKDOWN_PREFIX = "§"`. However, to send markdown messages, you
must enable it via a feature flip. This is because of the higher cost
etc.

with rendering enabled, broadcasts do not render links or images by
default. This must be enabled separately as a sub-feature. In direct
messages, links and images are always rendered.

currently we (I) are only planning to support the base CommonMark
standard. As I *personally* don't think a chat app needs rich github
level markdown features. There is also no UI interface to interactively
place markdown or to see the markdown as you write it, maybe this can
happen in future versions (item 2 here being of more importance than
item 1) .

<img width="741" height="923" alt="image"
src="https://github.com/user-attachments/assets/04deb6c3-0353-42de-8fcd-c84dae514d99"
/>
@IzioDev
IzioDev requested a review from HocusLocusTee February 1, 2026 05:25
@IzioDev
IzioDev changed the base branch from staging to master June 27, 2026 12:09
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.

3 participants