Skip to content

Commit efeb680

Browse files
committed
Revert zone e stuff
This reverts commits 2211d83^..bdcd90e
1 parent cb550f4 commit efeb680

6 files changed

Lines changed: 37 additions & 55 deletions

File tree

.env

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ API_URL=http://localhost:4000
33
GENERATE_API_URL=http://localhost:8000
44
PORT=3000
55
REACT_APP_CLIENT_ID=7833861618225795
6-
REACT_APP_LOGIN_PROVIDER_URI=https://hslid-uat.cinfra.fi
76
REACT_APP_REDIRECT_URI=http://localhost:3000
87
NAMESPACE=hsl-kartta
98

@@ -13,4 +12,4 @@ DIGITRANSIT_APIKEY=
1312
CYPRESS_TESTING_HSLID_USERNAME=
1413
CYPRESS_TESTING_HSLID_PASSWORD=
1514
CYPRESS_HSLID_CLIENT_ID=
16-
CYPRESS_HSLID_CLIENT_SECRET=
15+
CYPRESS_HSLID_CLIENT_SECRET=

app/components/RouteMapConfigurator.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ import AdvancedRouteMapOptions from "../containers/AdvancedRouteMapOptions";
99
import {PointStatus} from "../reducers/publisherRequests";
1010
import {listModalStyles} from "../utils/ui-utils";
1111

12-
const ZONE_SYMBOLS = [
13-
{value: "A"},
14-
{value: "B"},
15-
{value: "C"},
16-
{value: "D"},
17-
{value: "E"}
18-
];
12+
// const ZONE_SYMBOLS = [{value: "A"}, {value: "B"}, {value: "C"}, {value: "D"}, {value: "E"}];
13+
const ZONE_SYMBOLS = [{value: "A"}, {value: "B"}, {value: "C"}, {value: "D"}];
1914

2015
export default class RouteMapConfigurator extends Component {
2116
constructor(props) {

app/components/ZoneSymbolMarkers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import AZone from "../icons/icon-Zone-A";
55
import BZone from "../icons/icon-Zone-B";
66
import CZone from "../icons/icon-Zone-C";
77
import DZone from "../icons/icon-Zone-D";
8-
import EZone from "../icons/icon-Zone-E";
8+
// import EZone from "../icons/icon-Zone-E";
99
import {
1010
mapSelectionToBbox,
1111
bboxDiameterInMeters,
@@ -22,8 +22,8 @@ const getZoneIcon = (zone, svgSize) => {
2222
return <CZone size={svgSize} />;
2323
case "D":
2424
return <DZone size={svgSize} />;
25-
case "E":
26-
return <EZone size={svgSize} />;
25+
// case "E":
26+
// return <EZone size={svgSize} />;
2727
default:
2828
return <div />;
2929
}

app/components/hsl-zones-publisher-v6.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@
6060
[24.543216, 60.11093]
6161
]
6262
}
63-
},
64-
{
65-
"type": "Feature",
66-
"properties": {
67-
"Zone": "E"
68-
},
69-
"geometry": {
70-
"type": "MultiPoint",
71-
"coordinates": [[25.02, 60.53]]
72-
}
7363
}
7464
]
7565
}

app/icons/icon-Zone-E.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@ const EZone = (props) => (
88
viewBox="0 0 36 36"
99
version="1.1"
1010
xmlns="http://www.w3.org/2000/svg"
11-
xlink="http://www.w3.org/1999/xlink"
12-
>
13-
<title>icon-Zone-E-v2</title>
11+
xlink="http://www.w3.org/1999/xlink">
12+
<title>icon-Zone-E</title>
1413
<desc>Created with Sketch.</desc>
1514
<defs />
1615
<g
1716
id="Page-1"
1817
stroke="none"
1918
strokeWidth="1"
2019
fill="none"
21-
fillRule="evenodd"
22-
>
23-
<g id="icon-Zone-E-v2">
20+
fillRule="evenodd">
21+
<g id="icon-Zone-E">
2422
<path
2523
d="M36,18.00096 C36,27.94176 27.9408,36.00096 18,36.00096 C8.0592,36.00096 0,27.94176 0,18.00096 C0,8.05776 8.0592,0.00096 18,0.00096 C27.9408,0.00096 36,8.05776 36,18.00096"
2624
id="Fill-1"
2725
fill="#007AC9"
2826
/>
2927
<path
30-
d="M9.94704,8.85792 C9.94704,7.78992 10.77024,6.96672 11.83584,6.96672 L25.07184,6.96672 C26.07744,6.96672 26.87184,7.76112 26.87184,8.76672 C26.87184,9.77232 26.07744,10.56672 25.07184,10.56672 L13.69584,10.56672 L13.69584,16.06272 L23.68464,16.06272 C24.69024,16.06272 25.48464,16.85712 25.48464,17.86272 C25.48464,18.86832 24.69024,19.66272 23.68464,19.66272 L13.69584,19.66272 L13.69584,25.28592 L25.22544,25.28592 C26.23104,25.28592 27.02544,26.08032 27.02544,27.08592 C27.02544,28.09152 26.23104,28.88592 25.22544,28.88592 L11.83584,28.88592 C10.77024,28.88592 9.94704,28.06272 9.94704,26.99472 L9.94704,8.85792 Z"
28+
d="M9.94704,8.85792 C9.94704,7.78992 10.77024,6.96672 11.83584,6.96672 L17.90304,6.96672 C24.60864,6.96672 29.24064,11.56992 29.24064,17.57472 L29.24064,17.63472 C29.24064,23.63952 24.60864,28.30512 17.90304,28.30512 L11.83584,28.30512 C10.77024,28.30512 9.94704,27.48192 9.94704,26.41152 L9.94704,8.85792 Z M17.90304,24.88992 C22.38384,24.88992 25.30944,21.87312 25.30944,17.69712 L25.30944,17.63472 C25.30944,13.45872 22.38384,10.38192 17.90304,10.38192 L13.69584,10.38192 L13.69584,24.88992 L17.90304,24.88992 Z"
3129
id="Fill-4"
3230
fill="#FFFFFF"
3331
/>

yarn.lock

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,12 +2079,12 @@ asn1@~0.2.3:
20792079
safer-buffer "~2.1.0"
20802080

20812081
asn1js@^3.0.6:
2082-
version "3.0.7"
2083-
resolved "https://registry.yarnpkg.com/asn1js/-/asn1js-3.0.7.tgz#15f1f2f59e60f80d5b43ef14047a294a969f824f"
2084-
integrity sha512-uLvq6KJu04qoQM6gvBfKFjlh6Gl0vOKQuR5cJMDHQkmwfMOQeN3F3SHCv9SNYSL+CRoHvOGFfllDlVz03GQjvQ==
2082+
version "3.0.10"
2083+
resolved "https://registry.yarnpkg.com/asn1js/-/asn1js-3.0.10.tgz#df26c874c8a8b41ca605efea47b2ad07551013dd"
2084+
integrity sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg==
20852085
dependencies:
20862086
pvtsutils "^1.3.6"
2087-
pvutils "^1.1.3"
2087+
pvutils "^1.1.5"
20882088
tslib "^2.8.1"
20892089

20902090
assert-plus@1.0.0, assert-plus@^1.0.0:
@@ -2205,9 +2205,9 @@ base64-js@^1.3.1:
22052205
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
22062206

22072207
baseline-browser-mapping@^2.10.12:
2208-
version "2.10.19"
2209-
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.10.19.tgz#7697721c22f94f66195d0c34299b1a91e3299493"
2210-
integrity sha512-qCkNLi2sfBOn8XhZQ0FXsT1Ki/Yo5P90hrkRamVFRS7/KV9hpfA4HkoWNU152+8w0zPjnxo5psx5NL3PSGgv5g==
2208+
version "2.10.20"
2209+
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.10.20.tgz#7c99b86d43ae9be3810cac515f4675802e1f6b87"
2210+
integrity sha512-1AaXxEPfXT+GvTBJFuy4yXVHWJBXa4OdbIebGN/wX5DlsIkU0+wzGnd2lOzokSk51d5LUmqjgBLRLlypLUqInQ==
22112211

22122212
batch@0.6.1:
22132213
version "0.6.1"
@@ -4224,9 +4224,9 @@ hasha@5.2.2:
42244224
type-fest "^0.8.0"
42254225

42264226
hasown@^2.0.2:
4227-
version "2.0.2"
4228-
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003"
4229-
integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
4227+
version "2.0.3"
4228+
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.3.tgz#5e5c2b15b60370a4c7930c383dfb76bf17bc403c"
4229+
integrity sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==
42304230
dependencies:
42314231
function-bind "^1.1.2"
42324232

@@ -4261,9 +4261,9 @@ hpack.js@^2.1.6:
42614261

42624262
hsl-map-style@hsldevcom/hsl-map-style#master:
42634263
version "1.2.3"
4264-
resolved "https://codeload.github.com/hsldevcom/hsl-map-style/tar.gz/2e247924dde50d3e229ab5cb2650d0d2a56ff66e"
4264+
resolved "https://codeload.github.com/hsldevcom/hsl-map-style/tar.gz/5ae387b5c5e6946b62c752f029c6b361a4c28753"
42654265
dependencies:
4266-
lodash "^4.17.4"
4266+
lodash "^4.18.1"
42674267

42684268
html-minifier-terser@^6.0.2:
42694269
version "6.1.0"
@@ -4279,9 +4279,9 @@ html-minifier-terser@^6.0.2:
42794279
terser "^5.10.0"
42804280

42814281
html-webpack-plugin@^5:
4282-
version "5.6.6"
4283-
resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.6.6.tgz#5321b9579f4a1949318550ced99c2a4a4e60cbaf"
4284-
integrity sha512-bLjW01UTrvoWTJQL5LsMRo1SypHW80FTm12OJRSnr3v6YHNhfe+1r0MYUZJMACxnCHURVnBWRwAsWs2yPU9Ezw==
4282+
version "5.6.7"
4283+
resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.6.7.tgz#429bab4e12abf3c07e1c608886608e2df2c06b11"
4284+
integrity sha512-md+vXtdCAe60s1k6AU3dUyMJnDxUyQAwfwPKoLisvgUF1IXjtlLsk2se54+qfL9Mdm26bbwvjJybpNx48NKRLw==
42854285
dependencies:
42864286
"@types/html-minifier-terser" "^6.0.0"
42874287
html-minifier-terser "^6.0.2"
@@ -4902,9 +4902,9 @@ json5@^2.2.3:
49024902
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
49034903

49044904
jsonfile@^6.0.1:
4905-
version "6.2.0"
4906-
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.0.tgz#7c265bd1b65de6977478300087c99f1c84383f62"
4907-
integrity sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==
4905+
version "6.2.1"
4906+
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.1.tgz#b6e31717f22cc37330b081ce0051ed5de53af2f6"
4907+
integrity sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==
49084908
dependencies:
49094909
universalify "^2.0.0"
49104910
optionalDependencies:
@@ -5169,7 +5169,7 @@ lodash.restparam@^3.0.0:
51695169
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
51705170
integrity sha512-L4/arjjuq4noiUJpt3yS6KIKDtJwNe2fIYgMqyYYKoeIfV1iEqvPwhCx23o+R9dzouGihDAPN1dTIRWa7zk8tw==
51715171

5172-
lodash@4.18.1, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.23, lodash@^4.17.4, lodash@^4.18.1:
5172+
lodash@4.18.1, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.23, lodash@^4.18.1:
51735173
version "4.18.1"
51745174
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
51755175
integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
@@ -6087,7 +6087,7 @@ pvtsutils@^1.3.6:
60876087
dependencies:
60886088
tslib "^2.8.1"
60896089

6090-
pvutils@^1.1.3:
6090+
pvutils@^1.1.3, pvutils@^1.1.5:
60916091
version "1.1.5"
60926092
resolved "https://registry.yarnpkg.com/pvutils/-/pvutils-1.1.5.tgz#84b0dea4a5d670249aa9800511804ee0b7c2809c"
60936093
integrity sha512-KTqnxsgGiQ6ZAzZCVlJH5eOjSnvlyEgx1m8bkRJfOhmGRqfo5KLvmAlACQkrjEtOQ4B7wF9TdSLIs9O90MX9xA==
@@ -6602,13 +6602,13 @@ rxjs@^7.5.1:
66026602
tslib "^2.1.0"
66036603

66046604
safe-array-concat@^1.1.3:
6605-
version "1.1.3"
6606-
resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.3.tgz#c9e54ec4f603b0bbb8e7e5007a5ee7aecd1538c3"
6607-
integrity sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==
6605+
version "1.1.4"
6606+
resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.4.tgz#a54cc9b61a57f33b42abad3cbdda3a2b38cc5719"
6607+
integrity sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==
66086608
dependencies:
6609-
call-bind "^1.0.8"
6610-
call-bound "^1.0.2"
6611-
get-intrinsic "^1.2.6"
6609+
call-bind "^1.0.9"
6610+
call-bound "^1.0.4"
6611+
get-intrinsic "^1.3.0"
66126612
has-symbols "^1.1.0"
66136613
isarray "^2.0.5"
66146614

0 commit comments

Comments
 (0)