Giter Club home page Giter Club logo

draber.github.io's People

Contributors

ajs256 avatar anmazz avatar dependabot[bot] avatar draber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

draber.github.io's Issues

needs an import assertion of type "json"

I'm trying to build this for the first time and getting the errors below. NPM/Node 17.4.0.

npm run build

> [email protected] build
> npm run app:build & npm run site:build


> [email protected] app:build
> node --experimental-json-modules --no-warnings ./src/tools/compile/compile.js -t app


> [email protected] site:build
> node --experimental-json-modules --no-warnings ./src/tools/compile/compile.js -t site

node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///.../spelling-bee/draber.github.io/package.json" needs an import assertion of type "json"
    at new NodeError (node:internal/errors:371:5)
    at validateAssertions (node:internal/modules/esm/assert:82:15)
    at defaultLoad (node:internal/modules/esm/load:24:3)
    at ESMLoader.load (node:internal/modules/esm/loader:359:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
    at new ModuleJob (node:internal/modules/esm/module_job:66:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
    at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:81:21)
    at async Promise.all (index 0) {
  code: 'ERR_IMPORT_ASSERTION_TYPE_MISSING'
}

Node.js v17.4.0
node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///.../spelling-bee/draber.github.io/package.json" needs an import assertion of type "json"
    at new NodeError (node:internal/errors:371:5)
    at validateAssertions (node:internal/modules/esm/assert:82:15)
    at defaultLoad (node:internal/modules/esm/load:24:3)
    at ESMLoader.load (node:internal/modules/esm/loader:359:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
    at new ModuleJob (node:internal/modules/esm/module_job:66:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
    at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:81:21)
    at async Promise.all (index 0) {
  code: 'ERR_IMPORT_ASSERTION_TYPE_MISSING'
}

Log out/log back in data retrieval

@draber - I was investigating #143

The issue is if you log out and log back in, you'll get two local storage keys, games-state-spelling_bee/ANON and games-state-spelling_bee/{account_number}. Doing the shift will bring back the ANON storage key. Now, I can make a pull request to deal with this scenario. The only thing is, while digging into the spelling bee website, I couldn't figure out a good way of differentiating between logged in and logged out (only thing I could think was checking if the login button was present and visible on the page). I'm not as familiar with this so maybe you might be able to find a way that I'm not seeing.

In my current solution, it'll always get the account data if it's there over the ANON. This is technically wrong, because if they log out and start using it in the ANON mode, all the previous logged in words populate and won't update. So, a bit tricky here.

Update broke assistant

It seems the recent updates have broken the assistant. For example in today's puzzle I have 18 found words, but:
image

Surely you've noticed but on the off chance you haven't played in a couple days I thought I'd call it out. :)

Thanks!

Remove unnecessary bottom scrollbar

Here with an extremely helpful red arrow:
image

This is because the menu is shown 10000 px off screen to the right instead of being hidden with display: none;

(it was annoying me and I figured it would be a 2 second fix, so that's why I made the original PR here to close it)

Not syncing again

I'm pretty sure the assistant started working again after the 4.3.8 update, but maybe I just never refreshed in the middle of the game. In any case, it currently records my answers but if I refresh the page, it goes back to 0, and it doesn't record anything from the iphone app.

On a mac, google chrome.

Progress tracking is broken

Thanks for your helpful plugin. Sometime yesterday the progress tracking broke. New words added after the spelling be is added are tracked, but the existing words don't get added. See this example:
image
(note how there's one word there, VINE, but spelling bee helper reports 0).

This is consistent behavior seen on Chrome on Mac and Chrome on iOS and began with the Feb 13 puzzle. I am loading spelling bee helper via the bookmarklet.

Maybe link the new Bee forum somewhere?

Hey, this looks super cool. Now that there’s a dedicated Spelling Bee forum it might be nice to have a link to it from the assistant since the forum has people discussing the day’s puzzle and even offering creative hints. Finding the column for the day should be trivial. Just a thought..

Not identifying pangrams in Chrome 90

Just upgraded my Fedora Linux system to Chrome 90. Neither the bookmarklet nor the extension are underlining the pangram in todays (4/16/21) spelling bee. The bookmarklet was working in Chrome 89. Can't say for the extension as I just installed in for the first time on Chrome 90. Not a big deal but I thought you should know.

Assistant is out of sync with page

Mac, Chrome 98.0.4758.102, Spelling Bee Assistant 4.2.3

Assistant is only seeing words entered in the currently open session. Refreshing the page or entering words elsewhere results in a loss of the correct word count. Seems to be a new problem.

spelling bee

hard to see "keep playing" text in dark mode

Hi! In the default dark mode settings, if you return to the puzzle after hitting Genius, it's very hard to see the "keep playing" text.

image

Even in the lighter colors it's still pretty tough, but this is the worst.

Perhaps flip this text to white in dark mode?

Thanks for the great extension!

Word count is wrong

Regarding spelling bee of 8/28/21. I'm part way done. I have 26 "D" words but the spelling bee assistant grid and first letter say I only have 20. Also, I have 12 "F" words but the grid and first letter say I have 11. I saw this once before a few weeks ago where the grid and first letter count got stuck and did not count up all the words correctly. I tried deleting the extension and reinstalling it but that did not fix the issue.

Charles Dennett
[email protected]

Resets upon refreshing the page

The recent update seems to have fixed everything that broke when the Times rolled out the ability to play past puzzles... with the exception of one thing. When the page refreshes, it seems like the extension forgets all the words you found, resetting all the score/word totals to 0. The Today's Answers tab also doesn't remember what words have been found already after refreshing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.