Mocra
Mocra
  • 4
  • 26 159
80% users want Dark Mode - How to add to Jumpstart Pro
80% of mobile users want dark mode. Jumpstart Pro for Ruby on Rails now has a branch with dark mode support. I will give a demonstration.
* How I setup Jumpstart Pro www.mocra.com/how-do-i-setup-jumpstart-pro/
* 7 steps to setting up Stripe on Jumpstart Pro www.mocra.com/steps-to-setting-up-stripe-payments-with-jumpstart-pro/
* How to add Dark Mode to Jumpstart Pro www.mocra.com/toggle-dark-mode-in-jumpstart-pro-rails/
* Dark Mode branch [private github repo] github.com/jumpstart-pro/jumpstart-pro-rails/pull/697
00:00 80% mobile users want dark mode
00:55 Demo
04:50 Payments and Stripe
มุมมอง: 348

วีดีโอ

Adding Tip Tap editor to Rails - Episode 3 - Recreate Notion in Rails
มุมมอง 8K2 ปีที่แล้ว
Notion is a text editor on steroids; so we need our own headless text editor. And we need steroids. In this episode, we add Tip Tap into our Rails app via a StimulusJS controller, and explore how Tip Tap work. Oh, and then we save data to the server. Links: * Notion www.notion.so/ * Tip Tap tiptap.dev/ * render_svg / inline_svg github.com/jamesmartin/inline_svg * SVG icons bundled with Jumpstar...
Inline Editing each Page Title - Episode 2 - Let's recreate Notion in Ruby on Rails
มุมมอง 2.5K2 ปีที่แล้ว
In a normal Rails app we have forms, we have save buttons, and finish work early. But I want my page titles to be inline editable. I will figure out how to capture key events, submit the changes to the server, and even update the page URL with new slugs. Links from the episode: * turbo.hotwired.dev/handbook/drive#form-submissions * htmldom.dev/placeholder-for-a-contenteditable-element/ * tiptap...
Let’s recreate Notion in Ruby on Rails - Episode 1 - Creating Pages
มุมมอง 16K2 ปีที่แล้ว
Want to pair with me as I create a new Ruby on Rails application to recreate the fabulous Notion note-taking tool? In episode one we start with Jumpstart Pro, create the Page scaffold, then delete most of it, and paste in some HTML I prepared beforehand. We write some rspec tests. We talk about my hopes and dreams for 2022 text editors for all Ruby on Rails applications. We laugh, we blame you ...

ความคิดเห็น

  • @filibertosecchi709
    @filibertosecchi709 4 หลายเดือนก่อน

    Loved the series. Repo? Updated features?

  • @BlinderBomber
    @BlinderBomber ปีที่แล้ว

    I booted up my own version of Jumpstart and have been following along! This is super helpful. I'm running into an issue where the Tailwind that you copy and paste directly into the UI renders differently (and broken) for me. I remember being plagued by this problem with Jumpstart a few years ago. I'm not super strong on the asset pipeline so I don't know if you had any tips or ideas that might help. Thanks again for making this series!

  • @askegg
    @askegg ปีที่แล้ว

    It's nice to see the use of Google, and a good amount of humour.

  • @anteloio
    @anteloio ปีที่แล้ว

    Thanks for sharing! I was looking for how to integrate TipTap into my Rails app and someone linked your video from Reddit. Not only I got it working superfast, but I also learned some stimulus. Please keep sharing :)

  • @siyaram2855
    @siyaram2855 ปีที่แล้ว

    Where we can read the source code for study? Can you please share the link? Waiting for your reply 🙏

  • @MocraVideos
    @MocraVideos ปีที่แล้ว

    I don't have a good excuse for the SD 720p quality video. I'll try harder in future videos -- Dr Nic

  • @nguyentruongduy9247
    @nguyentruongduy9247 ปีที่แล้ว

    This is very good! Thanks for sharing it

  • @wakematta
    @wakematta ปีที่แล้ว

    This series is good, Next video ?

  • @varyform
    @varyform 2 ปีที่แล้ว

    LOL rubyweekly :(

  • @carltanner3632
    @carltanner3632 2 ปีที่แล้ว

    Yes, please share how you change Jumpstart to suit you.

  • @chrisrobbo
    @chrisrobbo 2 ปีที่แล้ว

    Great series, cheers! When is the next one? :)

  • @hariharansubramanian-
    @hariharansubramanian- 2 ปีที่แล้ว

    Waiting for next episode doc 🎉❤

  • @JustBCWi
    @JustBCWi 2 ปีที่แล้ว

    Why not use Rails 7 importmap pin?

  • @meirzhandemeugaliev2970
    @meirzhandemeugaliev2970 2 ปีที่แล้ว

    supercool, wait for next video

  • @DevBishwasBh
    @DevBishwasBh 2 ปีที่แล้ว

    It got this issue: Failed to resolve module specifier "@tiptap/core"

    • @DevBishwasBh
      @DevBishwasBh 2 ปีที่แล้ว

      I figured it out, used importmap feature in rails

  • @stephenlawson9593
    @stephenlawson9593 2 ปีที่แล้ว

    p̴r̴o̴m̴o̴s̴m̴

  • @crengela
    @crengela 2 ปีที่แล้ว

    Thanks Dr Nic 🙌

  • @wakematta
    @wakematta 2 ปีที่แล้ว

    tldr 38:16

  • @the_jacob_alexander
    @the_jacob_alexander 2 ปีที่แล้ว

    ​ @Mocra That was so cool. I'm curious how you implement images uploading, I have no idea how to do that especially in your tricky-stimulus-fresh-mind-way :)

    • @davidgutierrez3312
      @davidgutierrez3312 2 ปีที่แล้ว

      You could create a controller to handle the file uploading as you normally would and pass the image url via events to the editor controller.

  • @antonipatov5200
    @antonipatov5200 2 ปีที่แล้ว

    Thank you for the very helpful content!

  • @andrewng9950
    @andrewng9950 2 ปีที่แล้ว

    Loving your accent! And wanna add that I’d be happy to pay for a ROR course if you ever make one! 👍

  • @alex4tm1
    @alex4tm1 2 ปีที่แล้ว

    next series - recreate youtube in rails 👀

  • @al-mokhtar_
    @al-mokhtar_ 2 ปีที่แล้ว

    🤣 just unsubscribed from notion !!!

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      I’ll make sure that’s a feature of our recreation - to unsubscribe to this channel :)

    • @al-mokhtar_
      @al-mokhtar_ 2 ปีที่แล้ว

      @@MocraVideos gonna share the repo ?

  • @railscasts
    @railscasts 2 ปีที่แล้ว

    I’m enjoying this series, great to see you screencasting Dr Nic!

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      Thanks Ryan. I hope you’re very well xoxo

  • @MocraVideos
    @MocraVideos 2 ปีที่แล้ว

    Another option for debounce is a stimulus controller extension from the stimulus-use library stimulus-use.github.io/stimulus-use/#/use-debounce - though I think I still prefer the explicit inline declaration of debounce.

  • @fjdeveloper
    @fjdeveloper 2 ปีที่แล้ว

    very great content!!. I am looking forward to the next video. Thanks

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      Awesome, thank you!

  • @typeangle
    @typeangle 2 ปีที่แล้ว

    Hi Dr. Nic, thank you for starting this series. It's a pleasure watching you build a real app without following a script, and I picked up some very useful things by watching you code. Much appreciated.

  • @fractaledmind
    @fractaledmind 2 ปีที่แล้ว

    Another great episode. I wonder if you could render the Page#body HTML directly into the server-generated view, and then reference it as a controller target to then wire up the content of the TipTap editor instance. This would allow the page to be read without JS

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      I think that's worth doing. Though I want to know more about this "without JS" universe to which you refer. I just watched "Dr Strange 2" and they didn't visit one universe that didn't have JavaScript :)

    • @fractaledmind
      @fractaledmind 2 ปีที่แล้ว

      @@MocraVideos Fair. I don't think of it as an actual user-group I am targeting, but as a clear and useful mental model for ensuring a progressive enhancement mindset. What I like about such a mindset is that it helps to focus me on the basics and ensure I get them right. But I know you already know and appreciate the value of progressive enhancement

    • @kwhandy
      @kwhandy 2 ปีที่แล้ว

      @@MocraVideos HAHAHAHAHAH

  • @fjdeveloper
    @fjdeveloper 2 ปีที่แล้ว

    Thank for the content. I have learned many things with this single video.

  • @7hunderbird
    @7hunderbird 2 ปีที่แล้ว

    Liked and subscribed without hitting play.

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      TBird, you gotta hit play. To re-live the good times!

  • @heribertofigueroamichel2090
    @heribertofigueroamichel2090 2 ปีที่แล้ว

    Increíble! saludos desde México

  • @ledockol
    @ledockol 2 ปีที่แล้ว

    Excellent, thanks!

  • @TimUckun
    @TimUckun 2 ปีที่แล้ว

    I am thinking || "default" is a code smell. Perhaps a decorator or maybe a default set in the model would be better.

  • @alexdunae
    @alexdunae 2 ปีที่แล้ว

    This was great. I've been writing Rails almost as long as you but still enjoyed following along. I'd never seen AS::CurrentAttributes before, so worth it just for that!

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      Thanks Alex! Hopefully we’re all still merrily coding a long time from now.

  • @AlissonPatrickPlus
    @AlissonPatrickPlus 2 ปีที่แล้ว

    Excellent episode! Thanks for share that tons of acknowledgment and with this great mood as bonus.

  • @fractaledmind
    @fractaledmind 2 ปีที่แล้ว

    Great video in a great series. Love to see you problem solving in real-time. A couple of thoughts around edge-cases: * keyup is a limited event, what if someone pastes content? Of course, we can simply add additional events that we pass into the controller action * focus styles are an important usability concern for many users * you could make this somewhat more robust (diminishing returns here, I admit) by putting a Submit button in the form that you hide if the controller connects. This way, if the user doesn't have JS, they can still edit the title. But, again, such great content. Can't wait for ep. 3

    • @MocraVideos
      @MocraVideos 2 ปีที่แล้ว

      Good points, Stephen. I might do a video where I revisit these ideas and code them up and discuss them. I didn’t add any screen reader elements for title each either, so that’s something else to add.

  • @_rshiva
    @_rshiva 2 ปีที่แล้ว

    I'm loving this series. One important thing to learn from Dr.Nic is clear thinking, you need to ask a lot of questions to achieve the end goal. I love how Dr. Nic does that. So excited for collaborative conflict resolution episodes. Thanks :)

  • @andrewng9950
    @andrewng9950 2 ปีที่แล้ว

    Lovely video series 👍👍👍

  • @juliolinarezescobar
    @juliolinarezescobar 2 ปีที่แล้ว

    Amazing

  • @myanch200
    @myanch200 2 ปีที่แล้ว

    Nice one 👍

  • @krzysoo86
    @krzysoo86 2 ปีที่แล้ว

    Great video!

  • @jcmdev
    @jcmdev 2 ปีที่แล้ว

    Awesome!

  • @ledockol
    @ledockol 2 ปีที่แล้ว

    Loving this series! Many thank you for sharing

  • @mickeywonton
    @mickeywonton 2 ปีที่แล้ว

    Picked up some great tips. Thank you. Looking forward to the next video 😀

  • @AlissonPatrickPlus
    @AlissonPatrickPlus 2 ปีที่แล้ว

    Super thanks for this amazing content! Can't wait for the next!

  • @andrewng9950
    @andrewng9950 2 ปีที่แล้ว

    Loving this series! Thank you for sharing

  • @JorgeDominguezWehbe
    @JorgeDominguezWehbe 2 ปีที่แล้ว

    hahahaha #5:00. rule number 1.

  • @HRBG
    @HRBG 2 ปีที่แล้ว

    OMG is DrNic !!

  • @wdiechmann
    @wdiechmann 2 ปีที่แล้ว

    I love that energy DrNic! It's like small explosions of (after)thought :rofl: - sitting here at my desk, tapping my foot impatiently for "the difficult sequel" ;)