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

Feature/live monitoring #6151

Closed
wants to merge 64 commits into from
Closed

Feature/live monitoring #6151

wants to merge 64 commits into from

Conversation

emi420
Copy link
Collaborator

@emi420 emi420 commented Dec 7, 2023

This PR adds a new view for live monitoring of mapping projects, providing data quality insights.

You can see how it looks here:

#6109 (comment)

There are some other tasks that needs to be completed in order to have this feature in production.

Bonkles and others added 26 commits September 25, 2023 12:02
Signed-off-by: Taylor Smock <[email protected]>
Signed-off-by: Taylor Smock <[email protected]>
Signed-off-by: Taylor Smock <[email protected]>
…es to perform imagery switching at startup time. Also, rewrite history change to use URLSearchParams to replace existing Bing Param, if any.
…ven though no custom imagery source was defined.
Signed-off-by: Taylor Smock <[email protected]>
Signed-off-by: Taylor Smock <[email protected]>
Also, import Rapid from CDN instead of bundling it with the TM.
We still have to bundle the Rapid CSS file -- initial try on
importing the CSS file from the CDN failed. If that is fixed,
we could use a semver query for the CDN version, and get minor
Rapid updates for "free".

Signed-off-by: Taylor Smock <[email protected]>
Signed-off-by: Taylor Smock <[email protected]>
… for some of those functions

Signed-off-by: Taylor Smock <[email protected]>
…ing-Manager into facebook/chore/update-rapid
@emi420 emi420 added the data-quality Issues related to data quality and validation workflow label Dec 7, 2023
@royallsilwallz
Copy link
Contributor

The build file of CSS has been changed from 452.4KB (develop branch) to 6.54MB (feature/liveMonitoring branch).

The size is coming from @hotosm/underpass-ui/dist/index.css (5.9MB). It has 336,016 lines of code, almost all coming from Tailwind CSS.

This requires optimization.
The solution would be to minify this file.
Also, see if there are unwanted codes in the dist files.

Were you aware of this, @emi420 ?

Screenshot

  • develop VS feature/liveMonitoring branch
    image

@emi420
Copy link
Collaborator Author

emi420 commented Feb 13, 2024

@royallsilwallz Underpass UI CSS is now optimized, size reduced to 10kb :)

Copy link

Quality Gate Passed Quality Gate passed

Issues
19 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@royallsilwallz
Copy link
Contributor

I can confirm that the size is optimized now. Nice work @emi420 !
I've upgraded the latest Underpass UI repo and pushed the code.
I think we should merge this now. What do you say ?
CC - @ramyaragupathy @manjitapandey

@ramyaragupathy
Copy link
Member

Since there are conflicts and merge that's unrelated to this PR which makes the conflict resolution difficult, we will have @emi420 create a separate branch.

Also, we will include this feature only in expert mode. Once the new PR is up from @emi420, @royallsilwallz will implement the changes to support the view for expert mode features

@emi420
Copy link
Collaborator Author

emi420 commented Mar 21, 2024

Closing this PR because we'll create a new one.

@emi420 emi420 closed this Mar 21, 2024
@royallsilwallz royallsilwallz reopened this Apr 4, 2024
Copy link

sonarqubecloud bot commented Apr 4, 2024

Quality Gate Passed Quality Gate passed

Issues
19 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@royallsilwallz
Copy link
Contributor

Continued with #6299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-quality Issues related to data quality and validation workflow dependencies Pull requests that update a dependency file scope: frontend scope: infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants