48 Commits
Author SHA1 Message Date
raucao 0e099972f6 WIP: Rework drawer headers and sheet scrolling
Drawer headers: a shared DrawerHeader component renders the desktop nav-bar
layout (back + centered title + close) and a mobile variant (left title, no
back button, a single X that dismisses the top sheet — back when there is a
parent, otherwise close). Place details uses the place name as its title with
a compact, borderless header, and on mobile moves the photos below the place
type. The X and back buttons now have aria-labels.

Sheet scrolling: the content only scrolls while the sheet is at its largest
detent; below that, dragging anywhere on the sheet (including list rows and
links, not just the header) resizes it. At the largest detent, pulling down on
the content while it is scrolled to the top shrinks the sheet (overscroll to
shrink).

Place details opens at the medium detent again. The mobile photo carousel no
longer bleeds to the sheet edges, gets a wider gap and the same corner radius
as the action buttons.
2026-11-30 17:38:35 +04:00
raucao c56917e122 WIP: Stack parent sheets behind the mobile bottom drawer
Derive the sheet stack from the URL instead of mutating it: the route
template keeps rendering the top sheet, and application.gjs renders the
service-driven parent (search results, lists index, app menu) behind it on
mobile, inert, so closing the top sheet reveals the parent at its
remembered size.

- bottom-sheet modifier: `background` arg — background instances settle
  immediately, inject no handle, take no gestures, never own the inset slot,
  and never write the remembered detent (restore-only).
- z-index: demote background sheets below the top sheet, including the app
  menu whose desktop z-index was inverted.
- outside tap on mobile pops to the parent without hideSidebar(), keeping
  the session and detent alive; desktop keeps today's close-all.
- tracked matchMedia-backed viewport service for the mobile breakpoint.
- lists index extracted into a component so it can render top or background.
- scope .sidebar-content lookups and test selectors to .sheet-top.

Known v1 limitation: popping hard-cuts to the parent route (no exit
animation). The full derived stack with independent detents for 3-level
chains is deferred.
2026-11-30 15:17:20 +04:00
raucao 97eddbf3d3 Add swipe-to-resize mobile bottom drawer
Mobile sheets (search results, place details, lists, menu, contributions,
activity, new place) become draggable bottom sheets with three detents
(collapsed / medium / expanded), fling-snapping, and swipe-down-to-dismiss.
The sheet is transform-based and content never reflows while dragging.

The map, crosshair, and pin-centering react to the live covered height through
mapUi.sheetInsetPx, replacing the old hardcoded "bottom 50%" assumptions.

Also fixes a backtracking crash that made the drawer disappear when opening a
place from search results: the modifier no longer writes tracked service state
during render. Writes are coalesced into an animation-frame flush and gated by
an ownership token, so a stale sheet can't corrupt the inset.
2026-11-30 14:42:54 +04:00
raucao 9a5517012c Fix activity feed first load, sender names, and infinite scroll
- Treat contacts as loaded only once the kind 3 event exists, so the first
  home window is fetched with the follow list, and re-fetch the initial window
  when contacts arrive late.
- Resolve sender kind 0 profiles from the user's relays and the content's
  origin relays, and retry unresolved senders after the first load.
- Auto-load older pages while the end sentinel stays visible via a service-side
  loop, guarded by hasMore and a fetch lock, with an epoch token so a mode
  switch invalidates in-flight fetches.
- Deduplicate zap entries across window re-fetches.
2026-11-17 00:31:06 +04:00
raucao e74c01b1d1 Save/restore scroll position for bookmark lists
CI / Lint (pull_request) Successful in 1m6s
CI / Test (pull_request) Successful in 1m25s
Release Drafter / Update release notes draft (pull_request) Successful in 6s
Keep items loaded, same as for Activity and My Contributions lists
2026-09-25 15:55:47 +02:00
raucao 12e746c2a3 Clear search with no results when closing drawer
CI / Lint (pull_request) Successful in 1m12s
CI / Test (pull_request) Successful in 1m29s
Release Drafter / Update release notes draft (pull_request) Successful in 6s
2026-09-17 23:01:07 +02:00
raucao ddce25f43a Rename Collections, add special list for all saved
CI / Lint (pull_request) Failing after 1m3s
CI / Test (pull_request) Successful in 1m21s
2026-09-03 13:29:36 -06:00
raucao 4653947454 WIP Saved places 2026-09-03 10:08:48 -06:00
raucao 35aa3c950f Auto-load older activities
Both initially (if not enough recent ones are available), and when
scrolling to the end of an activity timeline
2026-09-02 18:36:58 -06:00
raucao a4a8d123d3 Split Activity timeline in Home and Explore
Adds a new Explore timeline with contributions from anyone on trusted
relays.
2026-09-02 15:06:10 -06:00
raucao 3f6bd5267f WIP Add activity timeline route/sidebar showing incoming zaps 2026-08-29 12:01:48 -06:00
raucao 3233150cc4 Connect Nostr account from My Contributions
And upon connection, immediately fetch contributions and render them
2026-08-19 12:24:50 -06:00
raucao b9e5213c27 Add timeline/history for signed-in user's contributions
CI / Lint (pull_request) Successful in 53s
CI / Test (pull_request) Successful in 1m6s
2026-08-18 16:21:31 -06:00
raucao 59e334c499 Fix place route being active after closing place details
Depending on where a place was opened from, it now goes back to the
index or (active) search route
2026-06-30 18:06:12 +02:00
raucao f2e531c0f6 Make collection list loading async 2026-06-30 16:26:22 +02:00
raucao 78996b6c61 Refactor sidebar header styles, center icon titles 2026-06-30 14:51:01 +02:00
raucao bb5b69711c Use list colors for list header icons 2026-06-30 14:05:25 +02:00
raucao ad9c489102 Refactor app menu, add place lists
Unify sidebar, make everything route-based
2026-06-30 13:28:48 +02:00
raucao cff19980d5 Refactor search route/loading
* Fetch results asynchronously after app launch
* Hide sidebar and search results when new search is issued
2026-04-27 15:18:17 +01:00
raucao cf251f702b Prevent zoom when opening place from search results 2026-04-27 14:44:35 +01:00
raucao d2eb888dcf Keep search results, only hide sidebar when closed 2026-04-27 14:37:19 +01:00
raucao 0059d89cc3 Add toast notifications 2026-03-27 15:00:36 +04:00
raucao 582ab4f8b3 Fix lint errors
CI / Lint (pull_request) Successful in 53s
CI / Test (pull_request) Successful in 47s
Release Drafter / Update release notes draft (pull_request) Successful in 38s
2026-03-23 18:32:18 +04:00
raucao 818ec35071 Ensure map marker clicks preserve search context
Fixes the back button just closing the sidebar and clearing the whole
search after having seleted a result via map marker
2026-03-23 16:42:32 +04:00
raucao 78d7aeba2c Refactor app menu sidebar
* Rename to "app menu" across code
* Move content to dedicated sections/components, introduce app menu links
* Use CSS variable for hover background color across the app
2026-03-14 16:24:36 +04:00
raucao 2734f08608 Formatting 2026-02-20 12:38:57 +04:00
raucao 59e3d91071 Fix back button behavior
fixes #12
2026-02-08 16:59:53 +04:00
raucao 0212fa359b Change console statements to debug or warn 2026-01-27 12:58:36 +07:00
raucao 8c58a76030 Create new places
And find them in search
2026-01-27 12:58:23 +07:00
raucao 156280950f Refactor search results with dedicated route 2026-01-27 09:50:26 +07:00
raucao 25081f9cfc Add app icon, web app manifest 2026-01-26 13:16:24 +07:00
raucao 1a96f95c82 Hide settings pane on outside click, render above places pane 2026-01-24 21:06:50 +07:00
raucao e8f7e74e40 WIP Add settings/about pane 2026-01-24 14:33:00 +07:00
raucao f28be0c994 Add user/accounts menu, RS connect 2026-01-24 13:51:29 +07:00
raucao 721fe5f01d Fix linting/formatting 2026-01-24 12:52:19 +07:00
raucao 33a6469a19 Various layout and style improvements for place details 2026-01-23 12:41:27 +07:00
raucao 7b01bb1118 Fix place store/remove behavior 2026-01-23 10:21:02 +07:00
raucao 0fee9ad2dd Link to bookmarked places from nearby places 2026-01-21 19:15:38 +07:00
raucao 42bf8455e5 Improve place routing and loading
* Normalize OSM POIs and always use and store the OSM type and tags
* Pass place objects to place route, do not load from API if passed
* Construct place URLs with osm prefix including the type
* Load specific type from API when given
2026-01-20 16:16:57 +07:00
raucao fad1eae552 Refactor to use routes, make POIs linkable 2026-01-16 13:44:36 +07:00
raucao f95b4d6328 Update map markers when bookmarks are added/removed 2026-01-16 12:41:05 +07:00
raucao 83461b0748 Fix sidebar content switching 2026-01-16 12:09:08 +07:00
raucao 12253a41b9 Remove bookmarks 2026-01-16 11:50:49 +07:00
raucao 5f6a13386b WIP show POI list on click, save to RS 2026-01-16 11:35:33 +07:00
raucao caa48537bc Add remoteStorage.js and Places module
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
2026-01-15 20:54:31 +07:00
raucao 19522256d7 Add basic map
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
2026-01-13 19:44:18 +07:00
raucao 037a9b5b3e Remove Welcome page 2026-01-13 19:14:58 +07:00
Tomster 2b5d392eb0 Initial Commit from Ember CLI v6.9.1
_...,
                                                     ,:^;,...;
              -+===;.         ,,--++====++-,,,     .:  /.....,
            :::::~+++++#:,+#++++++++++++++++++#*..:   /,......
           (,,,,,,::=+++##++++++++++++++++++++++#.   :....../
            ...,,,,,::++++++++++++++++++++++++++++++*..,...:
            *..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
              @#,;##############@@@+*+#@@@@@@@@@@#*++#..<
              *@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
                @#@*            @#@@@@#@@+--*^^*--#@@@@@@#
                @#@.    @#      @##+++@#,           .@@#@@
                 #@#    @@     +@@++++#@@     @@     :@@
                 :@#*         @#@++++++@#*    #@     @@+
                :*+@@#;,.__.+@#@+,-^^.++@#          @@++
               ;*  :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
              /*    ........+++++++++++++#@@@@@###@@#++++,
            ,:       ...,@@@#++===----==@@@####,,....+++++
           .:       ......@@##@\   ;   :@####@,,...... +++.
           ;       .........@###,   ;  ;xx#@;,,.....   *;+,
           |       ........,*;xxxx--^--=xxx,........   :+#;
           ;         ......,,;xxxxxxxxxxxxx;,.....     *+#
            ;          ......,::xxxx;.     ......       +.   .
             *;            .........  +###  ....       / ,. /:| ,.
               .+:             ...  ;##++##, .      ,#. (..v..;*./
                  **                ##  ###*    .:*&&&+. \.,....<,
                   #&+**==-..,,__  ;##  ###  :,*+&&&&&&&v+#&,,.._/
                  #&&&&*...,::,,.  ##; ,##* .*****;:&&&&&&&&&
                 ,+*+;~*..*** *.* ### ###* *******    *+#&;*
                                  ##,;##    ****    :,  **
         #####    ##   ###  ###,  ########       .#####   ;##  ##
        #######  ;##  #### ,###.  ##########    ########  ### ####
       ###  ###  ### ##########   ####  ####   ,##   ###  #######*
      ### ,###  ##############:   ##     ###  #### ,##   :#### ###  ##;
  ##########    ########### ##   .##    ,###  #######    ##### :######
    ######    .###### ####  ##   ###    ### ######*    :#####   ####
       #############  ####  ################    ######## ###
        #####*  *#*    #:   :###   *###*         *####    #*
2026-01-13 19:10:05 +07:00