on main help sign in
fix bug and release 0.3.0
commit1ee25511fbe7794e32fcb9ae91e07062ac63b9be authorJohn Hyde <johnhydefour@gmail.com> dateFri 30 Sep 2022, 03:56 (4 years ago) parent504a7a8
3 files changed+8−12
desk/desk.docket-0+1−1 ui/src/lib/sigil.ts+4−5 ui/src/styles/tailwind-output.css+3−6
desk/desk.docket-0+1−1
@@ -2,7 +2,7 @@
22 info+'Your guide to the Urbit constellations'
33 color+0x1f.243c
44 image+'https://raw.githubusercontent.com/johnhyde/astrolabe/main/ui/src/assets/astrolabe-tile.svg'
5− glob-http+['https://s3.us-east-2.amazonaws.com/warkgnall.com/urbit/astrolabe/globs/glob-0v6c4an.v6o54.h391h.bas4f.pl6gv.glob' 0v6c4an.v6o54.h391h.bas4f.pl6gv]
5+ glob-http+['https://s3.us-east-2.amazonaws.com/warkgnall.com/urbit/astrolabe/globs/glob-0v1.pc6av.k7vu1.4nkef.lgob3.u6tae.glob' 0v1.pc6av.k7vu1.4nkef.lgob3.u6tae]
66 base+'astrolabe'
77 version+[0 3 0]
88 website+'https://github.com/johnhyde/astrolabe'
ui/src/lib/sigil.ts+4−5
@@ -247,13 +247,12 @@ export function filterPartsByGeon(parts: string[], geon: Geon): string[] {
247247 }
248248 if (['gq4', 'gfs'].includes(geon)) {
249249 parts = without(parts, 'cbr2mb', 'cbr2lf', 'abrf2', 'abrb2', 'arb2');
250− }
250+ }
251251 return parts;
252252}
253253
254−export function filterFakeParts(parts: string[], symbolType: SymbolType): string[] {
255− let plausibleSyllables = getSyllablesBySymbolType(symbolType);
256− return parts.filter(part => plausibleSyllables.includes(part));
254+export function filterFakeParts(parts: string[]): string[] {
255+ return parts.filter(part => partParents[part]);
257256}
258257
259258export class SymbolQuery {
@@ -318,7 +317,7 @@ export class SymbolQuery {
318317 cleanupParts() {
319318 this.components = uniq(this.components);
320319 this.components = filterPartsByGeon(this.components, this.geon);
321− this.components = filterFakeParts(this.components, this.symbolType);
320+ this.components = filterFakeParts(this.components);
322321 // if (!this.allowFictional) {
323322 // this.components = this.plausibleParts;
324323 // }
ui/src/styles/tailwind-output.css+3−6
@@ -855,12 +855,12 @@ Ensure the default browser behavior of the `hidden` attribute.
855855.w-16 {
856856 width: 4rem;
857857}
858−.w-\[48px\] {
859− width: 48px;
860−}
861858.w-40 {
862859 width: 10rem;
863860}
861+.w-\[48px\] {
862+ width: 48px;
863+}
864864.min-w-0 {
865865 min-width: 0px;
866866}
@@ -1721,9 +1721,6 @@ Ensure the default browser behavior of the `hidden` attribute.
17211721.hover\:opacity-80:hover {
17221722 opacity: 0.8;
17231723}
1724−.hover\:opacity-40:hover {
1725− opacity: 0.4;
1726−}
17271724@media (min-width: 360px) {
17281725
17291726 .\32xs\:-bottom-3\.5 {