Skip to content

PB-74: Infobox tooltip aera info improvement#684

Merged
LukasJoss merged 15 commits intodevelopfrom
feat-PB-74-infobox_tooltip_aera_info_improvement
Mar 7, 2024
Merged

PB-74: Infobox tooltip aera info improvement#684
LukasJoss merged 15 commits intodevelopfrom
feat-PB-74-infobox_tooltip_aera_info_improvement

Conversation

@LukasJoss
Copy link
Contributor

@LukasJoss LukasJoss commented Mar 5, 2024

@cypress
Copy link

cypress bot commented Mar 5, 2024

Passing run #987 ↗︎

0 167 22 0 Flakiness 0

Details:

PB-74: Fixed typo which increased area by factor ten
Project: web-mapviewer Commit: 921c943496
Status: Passed Duration: 04:04 💡
Started: Mar 7, 2024 3:54 PM Ended: Mar 7, 2024 3:58 PM

Review all test suite changes for PR #684 ↗︎

@LukasJoss LukasJoss changed the title Feat pb 74 infobox tooltip aera info improvement PB-74: Infobox tooltip aera info improvement Mar 5, 2024
@LukasJoss LukasJoss force-pushed the feat-PB-74-infobox_tooltip_aera_info_improvement branch 3 times, most recently from 1f0cd18 to 307e3b9 Compare March 6, 2024 16:05
@LukasJoss LukasJoss marked this pull request as ready for review March 6, 2024 16:12
@LukasJoss LukasJoss requested review from ltshb and pakb and removed request for ltshb March 6, 2024 16:13
@LukasJoss LukasJoss force-pushed the feat-PB-74-infobox_tooltip_aera_info_improvement branch from 307e3b9 to f4cfe2f Compare March 7, 2024 08:05
@LukasJoss LukasJoss force-pushed the feat-PB-74-infobox_tooltip_aera_info_improvement branch from c84ff46 to 1843228 Compare March 7, 2024 08:31

const props = defineProps({
feature: {
type: EditableFeature,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be of SelectableFeature type no EditableFeature

Comment on lines +55 to +56
border: 2px solid black;
background-color: #999;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perso I would not add a border and use another background grey, at best use a bootstrap gray, e.g. gray-300 like for the list item hover. Maybe try to also add a small corner rounding.

{
title: 'profile_distance',
icons: [
['far', 'eye'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The icon eye should also be removed from the setup-fontawesome list if not used anymore

</span>
<span v-else-if="info.type === 'Polygon'" class="compact-measures-half">
<FontAwesomeIcon :icon="['far', 'square']" /> {{ info.perimeter }}<br />
<FontAwesomeIcon :icon="['fas', 'square-full']" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dito remove the square-full icon from the setup

@LukasJoss LukasJoss requested a review from ltshb March 7, 2024 13:13
Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good just one minor improvement

Comment on lines +23 to +27
if (calculatedArea > 10000) {
result += 'km'
} else {
result += 'm'
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a space before km and m

@LukasJoss LukasJoss force-pushed the feat-PB-74-infobox_tooltip_aera_info_improvement branch 2 times, most recently from 3abe5ca to ff5b826 Compare March 7, 2024 15:41
@LukasJoss LukasJoss merged commit f74d73d into develop Mar 7, 2024
@LukasJoss LukasJoss deleted the feat-PB-74-infobox_tooltip_aera_info_improvement branch March 7, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants