Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2025-08 #6088

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Release 2025-08 #6088

wants to merge 32 commits into from

Conversation

avaek
Copy link
Contributor

@avaek avaek commented Feb 18, 2025

Manual release steps

  • Add environment variables for RN-1383
// The following need to be added to api-client.dev.env and api-client.production.env
TUPAIA_WEB_SERVER_API_URL=https://[deployment-name]-tupaia-web-api.tupaia.org/v1
DATATRAK_WEB_SERVER_API_URL=https://[deployment-name]-datatrak-web-api.tupaia.org/v1
ADMIN_PANEL_SERVER_API_URL=https://[deployment-name]-admin-api.tupaia.org/v1

Features ⭐

Tweaks and bug fixes 🐛

Infrastructure and maintenance 🛠️

alexd-bes and others added 26 commits December 10, 2024 10:51
…5848)

* Working downloads

* Add comments

* Fix exports on web config server

* Add lesmis export handler

* Update DownloadHandler.js

---------

Co-authored-by: Tom Caiger <[email protected]>
Co-authored-by: Andrew <[email protected]>
…correctly (#5822)

* WIP

* Handle uploads of files from web

* Tidy ups

* Undo testing change

* Fix build

* Update S3Client.ts

* Update S3Client.ts

---------

Co-authored-by: Andrew <[email protected]>
Co-authored-by: Tom Caiger <[email protected]>
* media queries

* Background for landing page

* Mobile header

* WIP tile

* Update Tile.tsx

* leaderboard

* Survey select section

* Activity feed

* General styling

* tablet styling

* general styling

* Tasks

* WIP

* Task section styling

* Update ResponsiveScrollBody.tsx

* Update Header.tsx

* Update DrawerMenu.tsx

* fix merge

* Update UserInfo.tsx

* fix dashboard style issues 1 - 5

* fix home scrolling

* tasks styling

* Update SurveySelectSection.tsx

* design feedback

* Update TaskMetrics.tsx

* remove tool tips

* Update SurveySelectSection.tsx

* fix infinite scroll

---------

Co-authored-by: Tom Caiger <[email protected]>
Co-authored-by: Andrew <[email protected]>
* add storybook

* Update surveyQuestions.stories.tsx
* Update constants.js

* inline new types
* 💣 copyright header comments

* remove snippet
* remove more copyright headers

* remove inadvertent descriptions from schemas

* admin & config server

* stragglers
* ANSI control sequences

* 🚧 downlad env vars

* `getPackagesWithEnvFiles` style

* ditto getDeployablePackages.sh
* `string`, not `Date`

* remove unused var
* tiny UI tweaks

* fix workspace packages, add “swipeable” to dict

* remove unused asset

* more robust type for props

* dedupe CSS

* less noisy search

* remove redundant `styled`s

* fix leaderboard pluralisation

* remove debug log

* avoid useless templates

* fix test

* organise imports

* true ellipsis
* carousels

* comment

* tip

* reorganise

* fix exports

* update comment

* Partially revert "fix exports"

This partially reverts commit 8f0d1ad.

* fix comment
* disable location check

* organise imports

* skip related tests

* organise imports

mostly to trigger redeployment
* simplify expressions

again

again

* document `GET` endpoints

* document CREATE endpoint

* UPDATE endpoint

* use mock ID
* vector BES logo

* optimise browser icons

fix

* optimise robotsTXT

* remove whitespace from SVGs

* optimise imports

* remove unused LESMIS asset

* remove redundant SVG groups

style

* dedupe SVG styles

* update App Store, Google Play badges

rename

link to BES

* prefer `jpg` over `jpeg`

* compress PNGs

* fix `stroke-miterlimit` property name

* fix debug boolean

* un-hard-code to US

* hide `<DocumentIcon>` from a11y tree

* organise imports
* add `accent-color` to css baseline

* update styling

* include `focus-visible`

* rearrange lines

* fix bad syntax

* use `initial`

* feat(lesmis): RN-1462: override input focus colour (#6044)

* grey in lesmis

* cleaner type
correctly declare `prettier` peer dep
* new entity type
---------

Co-authored-by: Jasper Lai <[email protected]>
* media queries

* Background for landing page

* Mobile header

* WIP tile

* Update Tile.tsx

* leaderboard

* Survey select section

* Activity feed

* General styling

* tablet styling

* general styling

* Tasks

* WIP

* Task section styling

* Update ResponsiveScrollBody.tsx

* Update Header.tsx

* Update DrawerMenu.tsx

* fix merge

* mobile survey select page

* tweaks

* fix desktop

* Update UserInfo.tsx

* style(datatrakWeb): RN-1453: Mobile survey workflow (#5981)

* mobile survey header

* custom icons

* Update SurveyMobilePaginator.tsx

* wip

* fix(tupaiaWeb): RN-1512: Fix broken arithmetic visuals (#5980)

Update utils.ts

* survey select page

* country selector

* side menu

* db(entityTypes): MAUI-4763: Add new entity types (pacmossi_insecticide_test) for PacMOSSI project (#5986)

* pacmossi_insecticide_test entity type

* schema and model update

* copy and share

* header style

* Update dataTables.js

* sticky header

* tweak styles

* style tweaks

* Update ResultsList.tsx

* refactor list

* select list

* mobile menu

* toast styles

* fix(datatrak): RN-1450: Fix mobile tooltips (#5971)

* Update Tooltip.tsx

* set delay on BaseTooltip

---------

Co-authored-by: Andrew <[email protected]>

* Update index.ts

* tweaks

* pr suggestions

* Update CancelConfirmModal.tsx

* tweak(datatrak): RN-1451: DataTrak request country access form (#6000)

Update RequestCountryAccessForm.tsx

* tweak(adminPanel): RN-1419: Don't delete survey screens and components on import unless they have changed (#5885)

* Working check

* Handle object equality with stringify

* Fix object equality check

* Remove console log

---------

Co-authored-by: Andrew <[email protected]>

* Update SurveyDisplayName.tsx

---------

Co-authored-by: Salman <[email protected]>
Co-authored-by: Andrew <[email protected]>
Co-authored-by: alexd-bes <[email protected]>

* pr fixes

* fix dashboard style issues 1 - 5

* fix home scrolling

* tasks styling

* Update SurveySelectSection.tsx

* design feedback

* feat(datatrak): RN-1449: Mobile datatrak account settings (#6016)

* style project select

* feat(tupaiaWeb): RN-1356: Matrix table links (#5919)

* mock out rows

* rowLinks

* rowTitleEntityKey

* rename use entities

* rename server entities route

* row title links

* update row api

* put back refactor

* clean up

* header cols

* fix schema validation

* Update schemas.ts

* add test for basic config

* add unit test

* stories

* Update parseData.tsx

* add type guard

* comments

* Update schemas.ts

* review changes

* Update parseData.tsx

* Update README.md

* Update parseData.tsx

* temp update types validation

* fix export

* Update matrixBuilder.ts

* Update MatrixHeader.tsx

---------

Co-authored-by: Andrew <[email protected]>

* styling project select form

* settings header

* fix dependency cycle

---------

Co-authored-by: Andrew <[email protected]>

* Update TaskMetrics.tsx

* remove tool tips

* Update SurveySelectSection.tsx

* account deletion

* Update AccountSettingsPage.tsx

* Update StickyMobileHeader.tsx

* sticky header

* style tweaks

* back link on survey

* mobiel select back button

* Update SurveySideMenu.tsx

* fix select list

* Update ProjectSelectModal.tsx

* project select back button

* Update RequestCountryAccessForm.tsx

* Update RequestCountryAccessForm.tsx

* add storybook

* fixes

* Update RequestCountryAccessForm.tsx

* add share

* modal qr codes

* Update RadioQuestion.tsx

* ReadOnlyQuestion

* ArithmeticQuestion

* success screen

* android toasts

* review screen

* refactor(datatrak): update `<StickyMobileHeader>` interface (#6039)

* use children instead of shadowing `title` prop

* short circuit render

* remove unused variable

* update usage

* update another usage, remove unused import

* capitalisation

* fix(datatrak): RN-1452: Update survey back button logic (#6040)

* update back button logic

* update confirmLink to confirmPath

* tweak type

* feat(datatrak): RN-1452: Request project access (#6042)

* request project access

* success styling

* tweaks

* tweak file upload field

* font size tweaks

* fix scrolling view

* merge: update epic (#6052)

* repo: remove more copyright headers (#6046)

* remove more copyright headers

* remove inadvertent descriptions from schemas

* admin & config server

* stragglers

* fix: dedupe identifier

* repo: remove copyright headers from epic

* feat(datatrak): RN-1465: sync view (#6041)

* wip

* TODO 🫣

* wip

`useIsWebApp`

continued

* check icon, spacing tweaks

typographic tweaks

* clean up logic

* organise imports

* update usage

* again

* custom `formatRelative`

* clearer comment

* fix boolean

* reorder lines

* remove debug id

* de-hook-ify util function

* clearer comment

* add padding-top to `<StickyMobileHeader>`

* fix bad import

* fix desktop layout

* vertical alignment

* define header areas

* type

* typo

* avoid magic number

* fix(datatrak): RN-1465: padding (#6066)

fix padding

* feat(datatrak): RN-1467: survey submission sync indicator  (#6049)

* extract `<RecentSurveyTile>`

* ditto `<SurveyResponseTile>`

* fix bad React

* add missing `export`

* stricter typing, use `<DateTimeDisplay>`

* fix `SurveyResponse` type (part 2)

* style(datatrak): clean-ups for RN-1467 (#6056)

* shorter varname

* simplify CSS, logical properties

* list semantics

* derive type

* true ellipsis

* use `useIsMobile`

* remove unmatched brace

* logical properties

* simplify column template

* simplify grid rows and templates

* add missing import

* logical properties

* fix section alignment

* organise imports

* simplify desktop–mobile logic

* reset `ul, ul` margin

* export `<DateTimeDisplay>`

* full wifth `<SectionHeading>`

* speed up render

---------

Co-authored-by: Andrew <[email protected]>

* feat(datatrak): RN-1467: improve tile loading state (#6058)

* shorter varname

* simplify CSS, logical properties

* list semantics

* derive type

* true ellipsis

* use `useIsMobile`

* remove unmatched brace

* logical properties

* simplify column template

* simplify grid rows and templates

* add missing import

* logical properties

* fix section alignment

* organise imports

* simplify desktop–mobile logic

* clean up Tile implementation

* reset `ul, ul` margin

* export `<DateTimeDisplay>`

* full wifth `<SectionHeading>`

* fix key

* organise imports

* cleaner error state

remove unused var

* better varname

* adjust task skeleton

* adjust breakpoint

* fix mobile margins

* simplify `<NoTasksSection>`

* more sensible layout

* speed up render

* faster render

* balance text

* fix build

* shallower

* remove dead var

* avoid nested `?:`

* organise imports

---------

Co-authored-by: Andrew <[email protected]>

* feat(datatrak): RN-1467: `<SyncIndicator>` component (#6061)

* shorter varname

* simplify CSS, logical properties

* list semantics

* derive type

* true ellipsis

* use `useIsMobile`

* remove unmatched brace

* logical properties

* simplify column template

* simplify grid rows and templates

* add missing import

* logical properties

* fix section alignment

* organise imports

* simplify desktop–mobile logic

* clean up Tile implementation

* reset `ul, ul` margin

* export `<DateTimeDisplay>`

* full wifth `<SectionHeading>`

* fix key

* organise imports

* cleaner error state

remove unused var

* better varname

* adjust task skeleton

* adjust breakpoint

* fix mobile margins

* simplify `<NoTasksSection>`

* more sensible layout

* speed up render

* faster render

* balance text

* cherry pick `isWebApp` from #6041

* sync indicator

* comment

oops

* use `titleAccess` prop name, mirroring MUI

* fix alignment

* more sensible organisation

* fix build

* shallower

* remove dead var

* fix type

* simplify

* better varname

* tweak alignment

---------

Co-authored-by: Andrew <[email protected]>

* restore refactor after bad merge

* fix: restore `text-overflow: ellipsis`

* fix tooltip styling

* default icon size

---------

Co-authored-by: Andrew <[email protected]>

* Update AccountSettingsPage.tsx

* tooltipDelay

* style tweaks

* Update ProjectSelectModal.tsx

* detail label

* style tweaks

* update header

* Update DrawerMenu.tsx

* button width

* Update useResetPassword.ts

* Update EntityQuestion.tsx

* Update SurveySelectSection.tsx

* Update QRCodeModal.tsx

* Update ReadOnlyQuestion.tsx

* Update SurveySideMenu.tsx

* style CodeGeneratorQuestion

* review screen

* styles

* Update PhotoQuestion.tsx

* survey header

* activity feed styles

* fix request access message

* fix survey header country name style

* add tooltip to mobile survey header

* hide ‘copied to clipboard’ toast on Android <12

* fix QR code modal collision

* fix survey success screen desktop layout

* use logical properties

* control whether to render at consumer

* use logical props

* organise imports

* prevent panning on `<StickyMobileHeader>`

* avoid redundant templating

* more precise selector

* use logical props

* stricter type

* make `<MobileSurveyMenu>` styleable

* commit missing import

* use logical props, organise imports

* improve alt text, organise imports

organise imports

* update `theme-color`, enable safe area env vars

* use `dvb` if supported

* no scroll on `<MobileSurveyMenu>`

* remove redundant style

* avoid redundant predicate

* restore `maximum-scale=1 `

* `interactive-widget=resizes-content`

* use logical props

* logical props, relative colour

* fix bad inline padding

* case insensitive, more precise pattern

* use logical properties

* remove reundant prop

* use true ellipsis

* revert debugging interface

* more accessible `<DesktopText>`

* remove redundant style

* avoid circular import

* remove premature export

* Revert "`interactive-widget=resizes-content`"

This reverts commit e7c7061.

* remove implicit `any`

* `<ButtonAnchor>` component

* use logical properties in `<SurveySelectSection>`

* simplify `<SurveySelectSection>` responsive styles

* fix `<ChangeProjectButton>` font weight

* fix(datatrak): RN-1453: scroll dashboard in short viewports (#6079)

* use logical properties in `<PageContainer>`

* adjust `<Tile>` variant breakpoint

* responive header border width

* scroll whole dashboard in short viewports

* fix(datatrak): RN-1453: dashboard grid layout, text overflow (#6080)

* use `%` instead of `fr`

* prevent text clip

* Squashed commit of the following:

commit a9067c2
Author: Jasper Lai <[email protected]>
Date:   Tue Feb 18 10:05:33 2025 +1300

    avoid collision with `<SurveysImage>`

* use logical properties

* fix bad syntax

* fix(datatrak): RN-1453: custom toast collision with Android 12+ toast (#6083)

* use logical prop

* more informative toast

* type `useQuery`

* rename to `CopyUrlButton`, simplify interface

* allow x-axis scroll on `<MobileSurveyMenu>`

* temporarily show ✅

* fix elliptical hover state

* smarter padding

* less informative toast

* organise imports

* use logical `text-align`

* tweak(datatrakWeb): RN-1559: Update Entity Question UI (#6085)

* match design

* tweaks

* fix(datatrak): RN-1453: asymmetrical margins (#6084)

* fix

* simpilfy responsiveness

* fix syntax

fix bad syntax

* remove redundant header

* simplify responsive padding

* use `<main>`

* account for border

* use longhand

* juse use min `0`

* vertically align `<SurveySelectSection>` contents

* fix reading from `undefined` in `<EntityQuestion>`

* tweak(datatrak): RN-1453: restore “unbalanced” dashboard text (#6087)

* unbalance lines

* remove redundant wrapper

---------

Co-authored-by: alexd-bes <[email protected]>
Co-authored-by: Andrew <[email protected]>
Co-authored-by: Salman <[email protected]>
Co-authored-by: Jasper Lai <[email protected]>
Co-authored-by: Rohan Port <[email protected]>
@avaek avaek mentioned this pull request Feb 18, 2025
1 task
…ant (#6092)

* use string literal

* hide subtitle when no recents

* nullable subtitle
* make QR code modals `styled`-compatible

* fix survey success layout

* add missing prop

* optional children

* remove unused grid areas

better name

* remove unused property

* fix QR code alignment

* sort props

* fix bad syntax

* fix fix fix

* use standard top-level inline padding

* smater breakpoint

* smarter image sizing

* remove conditional hook usage

* better
* make placeholder inherit color, modify opacity

* closer match

* inline variable

* admin-panel MUI compliance `tertiary` → `hint`

* define `hint` in tupaia-web

* use `hint` color

* remove dead code

* remove redundant override
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.

6 participants