Commit Graph

45 Commits

Author SHA1 Message Date
Marco Romano
71676c3faf Static images improvements (#933)
1. On devices less than xhdpi request a 1x image from MapTiler (such devices are generally old, slower and with little memory so avoiding to get the 2x image only to have to shrink it later could help).
2. Coerce too big width/height combos within the API limits keeping the aspect ratio (this will allow requests on big horizontal displays to succeed).
3. Don't crash when given weird width/height combos (i.e. zero or negative).
4. Introduce interfaces to hide this whole logic and make it easier for forks to implement their own.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-21 13:37:08 +00:00
Chris Smith
b7bd08b210 Location sharing: don't hardcode API key
In an effort to make it easier for forks to (a) use their own
API keys (b) change map styles or maybe even providers, move
the MapTiler key out of the source code and pass it in via
env var or property.

Also refactor the utility classes slightly to keep all the URL
related functions together, to reduce the chance of collisions
when maintaining such forks.
2023-07-17 16:09:53 +01:00
Benoit Marty
0f27ad5a84 Merge pull request #347 from vector-im/feature/bma/oidc2
Add (disabled) Oidc support
2023-05-31 16:42:34 +02:00
Marco Romano
c9b3786e46 Update pull_request.md (#490)
Grammar nits.
2023-05-31 09:24:01 +00:00
Benoit Marty
6cbe7340ab Cleanup after PR review. 2023-05-31 10:34:03 +02:00
Benoit Marty
a7eae1cda5 Add OIDC support 2023-05-30 15:14:57 +02:00
Jorge Martín
64d595a83f Fix issues with knit (this should hopefully fix danger too). 2023-05-12 15:48:51 +02:00
Germain
64d3796343 Add more compound link references 2023-05-12 12:19:48 +01:00
Germain
ec8576733d Update icons documentation 2023-05-12 12:15:10 +01:00
Germain
28fd5532e1 Update compound references 2023-05-12 12:11:13 +01:00
Benoit Marty
59e630c99e Update documentation about screenshot test. 2023-05-05 09:47:10 +02:00
Chris Smith
63168d4656 Search for users to start a new DM. (#376)
Search for users to start a new DM.

Hooks up the create room UI to the matrix client to get
search results. Searches are debounced for 500ms and
only executed when 3 or more characters are entered.

Wrap the result state so we can distinguish between
"no results because we haven't searched yet" and
"no results because the API returned nothing", and
add a "No results found" message in the UI for the
latter case.

Closes #95
2023-05-03 13:26:31 +00:00
Chris Smith
e90211b5d8 Invite list view
Adds a CTA on the room list to view invites if there are any.

The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.

Fixes #102
2023-04-19 10:20:48 +01:00
Chris Smith
494e9b5222 Merge remote-tracking branch 'origin/develop' into local-sdk-fixes 2023-04-11 09:07:13 +01:00
Benoit Marty
aa2bb224e5 Add a link to a video presenting Anvil. 2023-04-05 16:18:44 +02:00
Chris Smith
8787137107 Fix using local rust aar
The rustsdk library wasn't included in the gradle build because
it still used a groovy build file (and settings.gradle includes
projects based on `build.gradle.kts` existing).

Also reword the onboarding docs slightly to clarify the deps
that need changing
2023-04-03 13:48:59 +01:00
ganfra
9dde4bc234 [Templates] changes after review 2023-03-27 17:43:02 +02:00
ganfra
a22965ebaf Share the template files and update documentation about it. 2023-03-24 17:24:06 +01:00
Benoit Marty
f97a213b09 Update the graph in the doc. 2023-03-16 10:10:55 +01:00
Benoit Marty
604b001998 Update doc about dependency upgrade. 2023-03-13 11:43:10 +01:00
Benoit Marty
21915f6eb6 Update documentation about screenshot test 2023-03-08 15:26:26 +01:00
Benoit Marty
392f8ab11d Update the doc, mainly add formatting. 2023-03-07 12:41:02 +01:00
ganfra
18b6650d95 Apply suggestions from code review
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-07 10:43:06 +01:00
ganfra
9b2b7196d8 [Doc] add some documentation about rust-sdk 2023-03-06 21:22:35 +01:00
Benoit Marty
ebb465af9c Fix typo in the doc. 2023-02-17 11:25:07 +01:00
Benoit Marty
5b766d4362 Add link to Appyx presentation video. 2023-02-14 18:13:05 +01:00
Benoit Marty
54b0ef9629 Update documentation related to tests and naming rules. 2023-02-14 17:03:02 +01:00
Benoit Marty
0c4e467038 Add some screenshots 2023-02-03 17:18:06 +01:00
Benoit Marty
0fc36e77c9 Knit 2023-02-03 12:54:04 +01:00
Benoit Marty
9de8a73c75 Remove unwanted doc. 2023-02-03 11:25:11 +01:00
ganfra
9059c6b812 Merge branch 'develop' into feature/bma/documentation 2023-01-19 18:10:44 +01:00
ganfra
64f80d2345 Add some notes about architecture 2023-01-19 18:10:05 +01:00
Benoit Marty
e1d180db59 This doc will be added in another PR. 2023-01-19 11:53:31 +01:00
Benoit Marty
ce3e554091 Add Doc 2023-01-18 15:20:32 +01:00
Benoit Marty
e26f9a35b7 Update doc 2023-01-18 09:26:43 +01:00
Benoit Marty
78d97088d4 Add some docs - lots of outdated part. 2023-01-11 17:02:56 +01:00
Benoit Marty
90f9a7a69f Add module graph plugin and expose the graph in the README 2022-12-22 12:28:14 +01:00
Benoit Marty
c0b3847c29 Add link to the (huge) modifier list 2022-12-12 17:22:22 +01:00
Benoit Marty
dec510df64 Add some documentation. 2022-12-12 14:36:16 +01:00
Benoit Marty
be4810ee39 Add link 2022-12-09 17:34:51 +01:00
Benoit Marty
ab35c047f4 [knit] Configure the plugin (covered by ./gradlew check) 2022-12-09 16:45:43 +01:00
Benoit Marty
d6058716c6 Format project 2022-12-09 12:06:37 +01:00
Benoit Marty
024fb7146d Setup Showkase and add some Preview. WIP 2022-11-29 15:07:31 +01:00
Benoit Marty
224f11b8bc Add links about Preview 2022-11-28 11:39:39 +01:00
Benoit Marty
1e4cacb35b Add small list of links. 2022-11-23 17:30:44 +01:00