{"id":16630851,"url":"https://github.com/ravicious/flux-challenge-elm","last_synced_at":"2026-04-28T04:04:44.166Z","repository":{"id":66976487,"uuid":"68617793","full_name":"ravicious/flux-challenge-elm","owner":"ravicious","description":"Flux Challenge written in Elm","archived":false,"fork":false,"pushed_at":"2016-11-19T14:23:57.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T12:21:02.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ravicious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-19T15:13:22.000Z","updated_at":"2016-10-30T12:39:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e667389-79d7-4f9e-bef1-35d1df895a45","html_url":"https://github.com/ravicious/flux-challenge-elm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ravicious/flux-challenge-elm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fflux-challenge-elm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fflux-challenge-elm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fflux-challenge-elm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fflux-challenge-elm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravicious","download_url":"https://codeload.github.com/ravicious/flux-challenge-elm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fflux-challenge-elm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32365534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T04:49:36.705Z","updated_at":"2026-04-28T04:04:44.078Z","avatar_url":"https://github.com/ravicious.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flux-challenge-elm\nFlux Challenge done in Elm\n\n## Caveats\n\n[flux-challenge readme](https://github.com/staltz/flux-challenge/blob/master/README.md) says the app\nis supposed to cancel HTTP requests for jedis in some cases. In Elm, aborting a request is not\nstraightforward to accomplish. To work around that, flux-challenge-elm behavior differs from what's\nspecified in flux-challenge readme.\n\n\u003e Do not make any request for a sith that would be outside the list.\n\u003e Cancel any such obsolete request when the user scrolls.\n\nInstead of canceling the requests, we don't add a jedi to the roster if it's not a master of\nthe first jedi or the apprentice of the last jedi.\n\n\u003e When either the current planet indicator changes OR loaded new rows: check if there is a displayed\n\u003e Dark Jedi whose home planet matches the current planet. If true, then display that Dark Jedi in\n\u003e red text, and cancel ALL ongoing HTTP requests for rows. Freeze the UI from scrolling until the\n\u003e current planet changes again and there is no red-highlighted Dark Jedi anymore.\n\nInstead of canceling the ongoing requests, we don't add any new jedis to the roster when the UI\nis frozen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravicious%2Fflux-challenge-elm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravicious%2Fflux-challenge-elm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravicious%2Fflux-challenge-elm/lists"}