This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Controller } from "stimulus" | |
import SlimSelect from "slim-select" | |
import "slim-select/dist/slimselect.min.css" | |
import "../style/slimselect-customized.css" | |
export default class extends Controller { | |
connect() { | |
const limit = this.data.get("limit") | |
const placeholder = this.data.get("placeholder") | |
const searchText = this.data.get("no-results") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## from @dinshaw in https://github.com/brianvoe/slim-select/pull/246 | |
## Assumption is that you have a label who's parent also contains the select list you are choosing from. | |
def js_select(item_text, options) | |
container = find(:xpath, "//parent::*[label[text()='#{options[:from]}']]") | |
within "##{container[:id]}", visible: false do | |
find('.ss-arrow').click | |
input = find(".ss-search input").native | |
input.send_keys(item_text) | |
find('div.ss-list').click |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="d-flex flex-row mb-3 align-items-start"> | |
<div class="d-inline-flex align-items-center"> | |
<div class="m-1 p-1" style="height:15px; border: 1px solid;"></div> | |
<div class="m-1 p-1" style="height:20px; border: 1px solid;"></div> | |
<div class="m-1 p-1" style="height:15px; border: 1px solid;"></div> | |
</div> | |
<div class="p-1 bd-highlight"> | |
<div class="d-flex flex-column"> | |
<div class="px-1 mx-1" style="height:50px; border: 1px solid;">Top</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":1,"resource":"file:///Users/rickychilcott/github/causey/config/environments/production.rb","entries":[{"id":"u7Kq.rb","timestamp":1731692934799},{"id":"RW0D.rb","timestamp":1731692984005},{"id":"LPQK.rb","timestamp":1731693011128},{"id":"9c0t.rb","timestamp":1731693026569},{"id":"7EDJ.rb","timestamp":1731693042599},{"id":"4S9P.rb","timestamp":1731693055247},{"id":"jOmH.rb","timestamp":1731693068728},{"id":"TRiU.rb","timestamp":1731693150654},{"id":"0myS.rb","timestamp":1731693171969},{"id":"io3S.rb","timestamp":1731693252168},{"id":"QNku.rb","timestamp":1731693290172},{"id":"YSra.rb","timestamp":1731693324764},{"id":"Wetr.rb","timestamp":1731693340034},{"id":"c1UI.rb","timestamp":1731693358656},{"id":"VJss.rb","timestamp":1731693373623},{"id":"4Kv0.rb","timestamp":1731693416259},{"id":"2fte.rb","timestamp":1731693435747}]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zip,Latitude,Longitude | |
71937,34.398483,-94.39398 | |
72044,35.624351,-92.16056 | |
56171,43.660847,-94.74357 | |
49430,43.010337,-85.89754 | |
52585,41.194129,-91.98027 | |
47520,37.934311,-86.67821 | |
49464,42.829252,-85.99621 | |
49919,46.559834,-88.52201 | |
52401,41.97545,-91.65912 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"zip":"71937","latitude":34.398483,"longitude":-94.39398},{"zip":"72044","latitude":35.624351,"longitude":-92.16056},{"zip":"56171","latitude":43.660847,"longitude":-94.74357},{"zip":"49430","latitude":43.010337,"longitude":-85.89754},{"zip":"52585","latitude":41.194129,"longitude":-91.98027},{"zip":"47520","latitude":37.934311,"longitude":-86.67821},{"zip":"49464","latitude":42.829252,"longitude":-85.99621},{"zip":"49919","latitude":46.559834,"longitude":-88.52201},{"zip":"52401","latitude":41.97545,"longitude":-91.65912},{"zip":"35979","latitude":34.831242,"longitude":-85.61564},{"zip":"36350","latitude":31.319083,"longitude":-85.48718},{"zip":"38401","latitude":35.619784,"longitude":-87.03565},{"zip":"41065","latitude":38.3481,"longitude":-83.718626},{"zip":"55302","latitude":45.246631,"longitude":-94.11692},{"zip":"29607","latitude":34.825592,"longitude":-82.34099},{"zip":"31150","latitude":33.844371,"longitude":-84.47405},{"zip":"31646","latitude":30.518903,"longitude":-82.08063},{"zip":"31826","latitu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="goal_chart_organization_177" width="100%" height="400px"></div> <script src="https://reports.missionmet.center/widget.js?container=goal_chart_organization_177&kind=goal_chart&locator=BAh7CEkiCGdpZAY6BkVUSSI5Z2lkOi8vbWlzc2lvbi1tZXQtY2VudGVyL09yZ2FuaXphdGlvbi8xNzc_ZXhwaXJlc19pbgY7AFRJIgxwdXJwb3NlBjsAVEkiC3dpZGdldAY7AFRJIg9leHBpcmVzX2F0BjsAVDA%3D--f3bfc40f4f3b436492d065c55beed834076ec70b"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires Ruby 2.7.0 | |
class Positional < Module | |
# def self.[](position:) | |
# new(position: position) | |
# end | |
def self.[](...) | |
new(...) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin transparent { | |
color: transparent; | |
} | |
@mixin override-trix-icon($icon, $content) { | |
button.trix-button--icon-#{$icon} { | |
&::before { | |
content: $content; | |
} | |
} |