on main help sign in
fix bug and release 0.3.0
1ee2551John Hyde
desk/desk.docket-0+1−1
@@ -2,7 +2,7 @@
2 info+'Your guide to the Urbit constellations'
2 info+'Your guide to the Urbit constellations'
3 color+0x1f.243c
3 color+0x1f.243c
4 image+'https://raw.githubusercontent.com/johnhyde/astrolabe/main/ui/src/assets/astrolabe-tile.svg'
4 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]
6 base+'astrolabe'
6 base+'astrolabe'
7 version+[0 3 0]
7 version+[0 3 0]
8 website+'https://github.com/johnhyde/astrolabe'
8 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[] {
247 }
247 }
248 if (['gq4', 'gfs'].includes(geon)) {
248 if (['gq4', 'gfs'].includes(geon)) {
249 parts = without(parts, 'cbr2mb', 'cbr2lf', 'abrf2', 'abrb2', 'arb2');
249 parts = without(parts, 'cbr2mb', 'cbr2lf', 'abrf2', 'abrb2', 'arb2');
250− }
250+ }
251 return parts;
251 return parts;
252}
252}
253
253
254−export function filterFakeParts(parts: string[], symbolType: SymbolType): string[] {
254+export function filterFakeParts(parts: string[]): string[] {
255− let plausibleSyllables = getSyllablesBySymbolType(symbolType);
256− return parts.filter(part => plausibleSyllables.includes(part));
255+ return parts.filter(part => partParents[part]);
257}
256}
258
257
259export class SymbolQuery {
258export class SymbolQuery {
@@ -318,7 +317,7 @@ export class SymbolQuery {
318 cleanupParts() {
317 cleanupParts() {
319 this.components = uniq(this.components);
318 this.components = uniq(this.components);
320 this.components = filterPartsByGeon(this.components, this.geon);
319 this.components = filterPartsByGeon(this.components, this.geon);
321− this.components = filterFakeParts(this.components, this.symbolType);
320+ this.components = filterFakeParts(this.components);
322 // if (!this.allowFictional) {
321 // if (!this.allowFictional) {
323 // this.components = this.plausibleParts;
322 // this.components = this.plausibleParts;
324 // }
323 // }
ui/src/styles/tailwind-output.css+3−6
@@ -855,12 +855,12 @@ Ensure the default browser behavior of the `hidden` attribute.
855.w-16 {
855.w-16 {
856 width: 4rem;
856 width: 4rem;
857}
857}
858−.w-\[48px\] {
859− width: 48px;
860−}
861.w-40 {
858.w-40 {
862 width: 10rem;
859 width: 10rem;
863}
860}
861+.w-\[48px\] {
862+ width: 48px;
863+}
864.min-w-0 {
864.min-w-0 {
865 min-width: 0px;
865 min-width: 0px;
866}
866}
@@ -1721,9 +1721,6 @@ Ensure the default browser behavior of the `hidden` attribute.
1721.hover\:opacity-80:hover {
1721.hover\:opacity-80:hover {
1722 opacity: 0.8;
1722 opacity: 0.8;
1723}
1723}
1724−.hover\:opacity-40:hover {
1725− opacity: 0.4;
1726−}
1727@media (min-width: 360px) {
1724@media (min-width: 360px) {
1728
1725
1729 .\32xs\:-bottom-3\.5 {
1726 .\32xs\:-bottom-3\.5 {