profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/sb8244/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Stephen Bussey sb8244 @cloveapp Atlanta www.stephenbussey.com Co-Founder @cloveapp • We enable world-class customer success experiences • Author of Real-Time Phoenix by Pragmatic Bookshelf

romul/newrelic.ex 63

NewRelic agent for Elixir

sb8244/ecto_tenancy_enforcer 32

Provides a way to ensure that all queries made from your Elixir application, using Ecto, have tenancy set

GrantJamesPowell/elixir_conf_example_1 3

Elixir Conf Example 1

sb8244/distributed_process_demo 3

Small demo of creating a choke point across a cluster of Elixir Nodes.

pushex-project/cluster_load_balancer 0

WIP - A waypoints to load balance resources in your Elixir cluster

sb8244/absinthe 0

The GraphQL toolkit for Elixir

issue commentphoenixframework/phoenix_live_view

HTMLEngine produces invalid HTML for self-closing tags

Amazing, thanks @msaraiva

sb8244

comment created time in 16 days

issue openedphoenixframework/phoenix_live_view

HTMLEngine produces invalid HTML for self-closing tags

Environment

  • Elixir version (elixir -v): 1.12.2
  • Phoenix version (mix deps): 1.5.12
  • Phoenix LiveView version (mix deps): 0.16.1
  • Operating system: OSX
  • Browsers you attempted to reproduce this bug on (the more the merrier): Chrome
  • Does the problem persist after removing "assets/node_modules" and trying again? Yes/no: Yes

Actual behavior

When I have a tag like <div /> (with attributes, but doesn't matter here), the browser doesn't close the div tag. This causes elements to get put as children of the div, even though they are not defined as children.

Expected behavior

A self-closing HTML tag should either raise (invalid HTML) or close via the correct tag. So <div /> should turn into <div></div>.

If developers are expecting heex to feel like JSX (for better or worse), then the tag should become properly closed and not raised.

created time in 21 days

PR opened phoenixframework/phoenix_live_view

Update CHANGELOG.md

The url property on a form does not exist, I believe this was meant to be action. However, the default value for action is "#", so maybe it's best to omit it?

+1 -1

0 comment

1 changed file

pr created time in 23 days

push eventsb8244/phoenix_live_view

Stephen Bussey

commit sha 987f041c8af139615a4518c3db628cb1b5ad6f82

Update CHANGELOG.md The url property on a form does not exist, I believe this was meant to be action

view details

push time in 23 days

fork sb8244/phoenix_live_view

Rich, real-time user experiences with server-rendered HTML

https://hex.pm/packages/phoenix_live_view

fork in 23 days

issue commentdanschultzer/pow

Instructions for WebSocket usage (e.g. Phoenix Channels and LiveView)

One thing that I ran into with my setup is that I had to extend the ttl of credentials_cache_store because LiveView is not extending credentials between requests. Does anyone have advice for this? The latest version of pow has an IO.warn about the high ttl that I cannot get around.

danschultzer

comment created time in 23 days

issue commentquilljs/quill

inconsistent module loading order

This is a very confusing issue for people that are writing extensions. I spun my wheels for a long time because "quill-image-uploader" works just fine, but that's because it redefines an already existing handler (image).

FranckFreiburger

comment created time in a month

issue closededgurgel/solid

Iterator variables not available to custom tag

I have a simple template that uses a custom tag inside of a for loop:

  {% for file in files.items %}
  	{% render_file file %}
  {% endfor %}

If I inspect the vars present in the custom tag, I have files available, but file is not defined. Is it expected that the iteration variable is available to the custom tag?

I see that iteration_vars exists, so I'm wondering if the order for grabbing a variable should be: context.iteration_vars fallback to context.vars

closed time in a month

sb8244

issue commentedgurgel/solid

Iterator variables not available to custom tag

Totally my bad. there's very clearly a Solid.Context.get_in function that provides proper access to the variables!

sb8244

comment created time in a month

issue openededgurgel/solid

Iterator variables not available to custom tag

I have a simple template that uses a custom tag inside of a for loop:

  {% for file in files.items %}
  	{% render_file file %}
  {% endfor %}

If I inspect the vars present in the custom tag, I have files available, but file is not defined. Is it expected that the iteration variable is available to the custom tag?

created time in a month

issue openedvitting/quill-plugin-resize-image

NPM build does not work for me out-of-the-box

I attempted to install this through NPM and was not able to get it working. I think it is because webpack installs typically ignore node_modules for the TS compiler.

In order to work with this setup, the library would need to be built with UMD. I don't really know much about snowpack, so the webpack-compatible setup may not be desired.

created time in a month

issue commentvitting/quill-plugin-resize-image

`checkImage` keycodes are invalid

Also, big thanks for making this library TS compatible and for fixing the window dependencies. It seems to work well for me so far.

sb8244

comment created time in a month

PR opened vitting/quill-plugin-resize-image

Fix keycode values

Fixes #1

+2 -2

0 comment

1 changed file

pr created time in a month

push eventsb8244/quill-plugin-resize-image

Stephen Bussey

commit sha 2b68ef59d81c4bd4ab7c0e400de2436aab1feeed

Fix keycode values

view details

push time in a month

PR opened vitting/quill-plugin-resize-image

Smoother resize animations

This significantly smoothes out the resize drag by matching updates to framerate

+5 -3

0 comment

1 changed file

pr created time in a month

push eventsb8244/quill-plugin-resize-image

Stephen Bussey

commit sha e58ceb57879bfd47fae7afb093e93a0c1e06c1b6

Smoother resize animations This significantly smoothes out the resize drag by matching updates to framerate

view details

push time in a month

fork sb8244/quill-plugin-resize-image

Clone of resize plugin by https://github.com/kensnyder updated to work with yypescript and latest versions of Quill Editor

fork in a month

issue openedvitting/quill-plugin-resize-image

`checkImage` keycodes are invalid

The key property is loosely checked as 46, 8. I noticed on Chrome that the evt.key property comes back like "Backspace" or "Delete". I'm not sure all of the nuances of key vs code, but I ended up with the following code to get deletion working

if (
  (evt as KeyboardEvent).code === 'Backspace' ||
  (evt as KeyboardEvent).code === 'Delete'
)

created time in a month

pull request commentphoenixframework/phoenix_live_view

Update js-interop.md

thanks!!

sb8244

comment created time in 2 months

delete branch sb8244/phoenix_live_view

delete branch : sb8244-patch-1

delete time in 2 months

PR opened phoenixframework/phoenix_live_view

Update js-interop.md

Clarify when pushed events will be called in the case of page transitions.

This might be incorrect, but I had the question and figured that a clarifying PR would be better than a Slack message. It seems to work such that the new page's hooks are invoked when mount uses push_event, although the wording is that callbacks won't be invoked.

+1 -1

0 comment

1 changed file

pr created time in 2 months

create barnchsb8244/phoenix_live_view

branch : sb8244-patch-1

created branch time in 2 months

fork sb8244/phoenix_live_view

Rich, real-time user experiences with server-rendered HTML

https://hex.pm/packages/phoenix_live_view

fork in 2 months

delete branch sb8244/phoenix_live_view

delete branch : sb8244-bug-hunt

delete time in 2 months

push eventsb8244/ecto_tenancy_enforcer

Stephen Bussey

commit sha 7dac523d0560ec4a57bcf3800b788d312d70d6e6

Bumps to mix.lock to get publish working

view details

push time in 2 months

release sb8244/ecto_tenancy_enforcer

v0.1.0

released time in 2 months

created tagsb8244/ecto_tenancy_enforcer

tagv0.1.0

Provides a way to ensure that all queries made from your Elixir application, using Ecto, have tenancy set

created time in 2 months

push eventsb8244/ecto_tenancy_enforcer

Stephen Bussey

commit sha ce3c7502013966f67676f04f620dcd724c608c3a

mix.lock update

view details

Stephen Bussey

commit sha f3e983bbbde493104d001524c577d068f372773a

Allow coalesce to be used in queries, but not for tenancy checks If coalesce(table.tenant_id, 1) == 1 was used, then there's an inherent lack of safety. So we will not check coalesce at all.

view details

Stephen Bussey

commit sha ccb5b02680dff31d275efb39e74a6322afd0d785

v0.1.0

view details

push time in 2 months

pull request commentphoenixframework/phoenix_live_view

Recreation of bug with statics not resolving correctly across recursive diffs

For reference, this is the issue that I was seeing in https://github.com/phoenixframework/phoenix_live_view/issues/1144#issuecomment-880069118. I believe it's unrelated to that code, just the same error manifesting differently.

sb8244

comment created time in 2 months

push eventsb8244/dynamic-query-example

Stephen Bussey

commit sha 4b97b7106e013fb2f67c685a0258a756b693f2c9

Example fix for the diff bug

view details

push time in 2 months