- Видео 23
- Просмотров 22 995
henrique doro
Добавлен 2 фев 2016
Sanity.io specialist, helping organizations with powerful content workflows and integrations
Видео
How to configure sanity-s3-files
Просмотров 1617 месяцев назад
How to configure AWS S3 & Lambda to use the sanity-s3-files plugin, which allows using S3 for storing and interacting with files in Sanity.io. Refer to the documentation for more information: - github.com/hdoro/sanity-plugin-external-files/tree/main/packages/aws
Evolving real-world schemas with sanity/migrate
Просмотров 1378 месяцев назад
How I'm using Sanity.io's migration utilities to evolve the structure of my content in real-life projects. For more tips & tricks with Sanity, follow my blog at hdoro.dev or find me on socials: - x.com/hdorodev - recurse.social/@hdoro Resources: www.sanity.io/docs/schema-and-content-migrations
Using state machines to introduce a countdown timer to audio recorder (XState + Svelte)
Просмотров 3332 года назад
A quick walkthrough my process of adding a small UX feature to a mini app I built for pronouncing names. - The app is open source: github.com/hdoro/gravasound - And currently accessible at gravasound.vercel.app (looking for better names, suggestions welcome!)
Intro to block-based content in Sanity.io - mentoring Rocky Nguyen
Просмотров 9292 года назад
👉 Schedule a free mentoring session: hdoro.dev/sanity-mentoring Mentoring session with Rocky Nguyen on getting started with Sanity and creating a page builder through block schemas. Recorded on June 6th, 2022
Creating better editorial experiences in Sanity.io - mentoring Rob Wallator
Просмотров 2462 года назад
👉 Schedule a free mentoring session: hdoro.dev/sanity-mentoring Mentoring session with Rob Wallator on creating great editorial experiences in Sanity.io. Recorded on Jun. 6th, 2022 Rob's Twitter: 88_create
Pulling Sanity.io data into NextJS & basic GROQ - mentoring Diego Salinas
Просмотров 9422 года назад
👉 Schedule a free mentoring session: hdoro.dev/sanity-mentoring Mentoring session with Diego Salinas on getting started with GROQ, pulling Sanity data into NextJS, and rendering Sanity images. Recorded on Jun. 13th 2022
Modeling & querying references in Sanity.io with Olamide Jubril
Просмотров 7602 года назад
👉 Schedule a free mentoring session: hdoro.dev/sanity-mentoring Mentoring session with Olamide Jubril on how to model & query references/relationships in Sanity.io. It brushes up on the basics of schemas and GROQ. Recorded on May 13th, 2022 Learn GROQ: hdoro.dev/learn-groq
Introducing Tapi - model content, together
Просмотров 1,6 тыс.2 года назад
Heya 👋 I'm excited to introduce Tapi, a Figjam widget for building content models visually and exporting them to Sanity.io projects with one click. Give it a go: www.figma.com/community/widget/1066408362543146472/Tapi Content-Modelling I'm open to feedback and requests at tapi@hdoro.dev :) As my first ever digital product, whatever respectful input is welcome and appreciated!
Using Sanity.io data in SvelteKit projects
Просмотров 3,6 тыс.2 года назад
📄 Written version here: hdoro.dev/sanity-io-to-svelte-kit How to fetch data from your Sanity content lake and use it to feed Svelte templates. If you're struggling with Sanity, I'm giving free mentoring sessions! hdoro.dev/sanity-mentoring Resources: @sanity/client documentation: www.sanity.io/docs/js-client SvelteKit's docs on routing: kit.svelte.dev/docs/routing
Using GROQ to feed front-ends - Sanity.io mentoring with Larry Swanson
Просмотров 2372 года назад
👉 Schedule a free mentoring session: hdoro.dev/sanity-mentoring 📝 Written adaption of this (including code Larry uses to fetch from Sanity): hdoro.dev/getting-json-from-sanity-io Mentoring session with Larry Swanson on how to use GROQ to feed Hugo for his upcoming personal project. Happy to get feedback on the format :) Recorded on Feb. 28th, 2022 Learn GROQ: hdoro.dev/learn-groq Larry's profi...
How I'm learning with Roam Research
Просмотров 5473 года назад
How I'm leveraging Roam Research's capabilities to improve my learning. It boils down to being crystal clear about your intentions & motivations and tracking questions, concepts, tricks, and tasks. I use my ongoing learning project on Clojure, the programming language behind Roam, as the guiding example of the video. David Perell on why you should pursue concrete, scoped projects of learning: p...
Integrating Sanity.io and Algolia
Просмотров 1,9 тыс.3 года назад
How to integrate Sanity.io's structured content into Algolia for fast & powerful end-user search. Feedback appreciated! I'm not a fan of editing video, so I'm looking for ways to reduce this work whilst still improving the quality of the final video :) Text version: hdoro.dev/integrating-sanity-io-algolia Link to add the webhook to your Sanity project: www.sanity.io/manage/webhooks/share?name=A...
Work Cycles by Ultraworking in Roam Research
Просмотров 8193 года назад
Become more effective with Roam by using Work Cycles by Ultraworking. Hope this helps and let me know if something is unclear 🤗 JSON file with the Roam template: hdoro.dev/content/work-cycles-roam-template.json ABOUT WORK CYCLES Work Cycles by Ultraworking: Work Smarter and Work Harder - ruclips.net/video/JGBYycCWOD0/видео.html Templates and full explainer on work cycles: www.ultraworking.com/c...
Inline audio player in Sanity.io rich text
Просмотров 8723 года назад
Learn how to add a custom inline block to Sanity's portable text editor and display it in the front-end. Audio files are hosted in Sanity's CDN. Links to documentation: Information on the file schema type: www.sanity.io/docs/file-type Block type: www.sanity.io/docs/block-type Configuring the portable text editor: www.sanity.io/docs/configuration
Quickly update Sanity.io content with Sanity's CLI
Просмотров 1,5 тыс.3 года назад
Quickly update Sanity.io content with Sanity's CLI
Get random document in Sanity.io with the Structure Builder
Просмотров 1,2 тыс.3 года назад
Get random document in Sanity.io with the Structure Builder
Advanced custom Sanity.io components with Geoff Ball
Просмотров 1,5 тыс.3 года назад
Advanced custom Sanity.io components with Geoff Ball
How I'm taking book notes in Roam with the Zettelkasten
Просмотров 2,9 тыс.3 года назад
How I'm taking book notes in Roam with the Zettelkasten
Creating a sharing image editor for Sanity.io
Просмотров 1,5 тыс.3 года назад
Creating a sharing image editor for Sanity.io
A sustentabilidade da pecuária na Amazônia e alternativas de desenvolvimento
Просмотров 365 лет назад
A sustentabilidade da pecuária na Amazônia e alternativas de desenvolvimento
need text alignment, coloring into text, image alignment also
Em português ajudaria 😅☹️
Learning from Jesus himself! JK, thanks so much for this, you are great at keeping it concise & clear.
Any way to have auto typing on Typescript from schemas?
i want to create a following function so i added a following array to the user document to store its followers. i need help
amazing video! thanks a lot, has helped me a lot to understand the asset principle with the audio files.
Couldn't find this anywhere else! Cheers!
Fantastic tool Henrique! I do have a question regarding the "Block" fields I am only able to select one. What if I want to have a slider and testimonial? I am only able to select one block. This way on export it only returns one type inside an array of objects.
You're the first person I liked even though you were using light theme for coding! :>
Would love to see a take on live preview in sveltekit
This strategy is great! I wish I knew about it before. thank you for inspiring me to get closer to the best version of myself once again
{ "ids": { "created": [ select(before() == null && after() != null => _id) ], "deleted": [ select(before() != null && after() == null => _id) ], "updated": [ select(before() != null && after() != null => _id) ], } }
But what if i want a range of random items?
Awesome work on Tapi, Henrique. I recently used it to create a rather large site. It made it so much easier to manage relationships than doing all of this in a spreadsheet, and having all of this automatically generated saved the developers a lot of tedious work at the beginning of the build. Keep up the great work!
Hey, how do I do this with sveltekit 1.0? gettin the confuse by the +page stuff
wondering the same thing
Great stuff Henrique! Would love more of these :)
I can barely hear the volume here.
This is awesome!!! Thanks for share
Thanks a lot! This was a good video.
Any idea how you would write the API route for a NextJS project? edit: the following worked for me: export const algoliaInstance = algoliasearch( process.env.ALGOLIA_APPLICATION_ID, process.env.ALGOLIA_ADMIN_KEY ); export default async function handler(res) { let sanityData = await client.fetch(algoliaQuery); const index = algoliaInstance.initIndex(process.env.ALGOLIA_INDEX); try { console.time(`Saving ${sanityData.length} documents to index`); await index.saveObjects(sanityData); console.timeEnd(`Saving ${sanityData.length} documents to index`); return res.status(200).json({ body: "success!" }); } catch (error) { console.error(error); return res.status(500).json({ body: error }); } }
can you use the uploaded audio file on a simple html audio tag? in next js?
Yup! Just extract the audio's asset URL as suggested in 7:50 of this video and add that as the `src` value of the `audio` element ;)
@@hdorodev yes! but how can you get it to build or fetch different id for different audio? for example in a schema called 'music', where you have multiple audio? Thank you!
@@9SHI7997 you definitely can :) I'd recommend getting back to basics of Sanity - perhaps this session with Diego on getting Sanity data into Next can help: ruclips.net/video/uBxiJzqUtas/видео.html Or you can also follow the principles in "Using Sanity.io data in SvelteKit projects": hdoro.dev/sanity-io-to-svelte-kit (video version at ruclips.net/video/xp1vT8ES8wQ/видео.html) If I'm still misunderstanding you, you can always schedule a session with me! hdoro.dev/sanity-mentoring
░p░r░o░m░o░s░m░
salut
👋
<3
Feel like I should pause and go have a shower before continuing 😂
Did you? :0
works the same, but i'm still struggling with double of data like when i updated something then in algolia created duplicated objectID and type, also nextjs return error - unhandledRejection: [object Object]. You have the same problem.
It's been a while since I worked with this so I'm not sure I follow, Kamil... If you want to jump on a debugging session, I give free mentoring sessions, it'd be a pleasure to help! hdoro.dev/sanity-mentoring
did you manage to resolve this in next? I'm running into the same issue. My data does not follow the way I laid it out in the projection but instead just gives me two of each rev, id and type after updating it with the webhook
@@kyleking7642 I am getting the same situation and error! did you figure this out?
I figured it out, I copied the code from the package into a file in my repo to debug, I am leaving the id assignment to the standardValues method and i've also removed all the delete stuff and moved it to its own webhook/serverless fn combo with the vanilla JS client
Sanity or Strapi ?? :)
The same approach probably fits Strapi quite well - it's your call, really :)
@@hdorodev yep as i am a developer i found strapi more better specially is open source and u can install on local and customize ur logic
This is awesome Henrique! Just tried it out for a quick content model session and it's great! Sweet export feature too.
This is 💯!! Love your work Henrique 🙂
Love it! Was looking for something similar to this the other day - and love the Sanity approach.
Thank you for always being so supportive, Ollie - you keep the fire burning!
you look identical to rich harris, very fitting!
jbxmva #von.ong
Wonderful! I'll try it
Nice! I thought that new research suggest that caffeine's negative effects on sleep are probably exaggerated though (?). See academic.oup.com/sleep/article/42/11/zsz136/5535848
How do you import this JSON file in Roam?
The Roam help graph has a GIF on how to do it, hope it helps: roamresearch.com/#/app/help/page/jT-x45msQ
Impressive Tips, thank you for sharing your insights. What extensions do you use in the video?
Right now I don't have any plugins, just a custom theme: github.com/linuz90/better-roam-research
This is top, will have to dig into this later. With some adjustments id like to try export pdfs which then could be used for business cards, stationary .etc
This is a great idea, Jim! I know some people in the community have already built some server-rendered PDFs out of Sanity data - this requirement is actually one of the reason of Sanity's existance! But doing it real-time in the client would be amazing, thanks for sharing 😀
Great video as always man! Thanks =D
THIS! I've been looking for this for weeks now. Thanks a lot! =D
The block linking method is great - will definitely look more into this thanks :)
Really thank you so much for sharing your thoughts on how you use Zettlekasten in roam research. I am a fan of both of these tools.👍😊
Muito massa! Gostaria de poder acrescentar economicamente mas não é minha praia. Posso recomendar que você busque mais referências de estudos ou pessoas que defendam a indústria pecuária ou pessoas que trabalham nessa indústria próxima da floresta amazônica. Digo pois conversando com alguns amigos que trabalham nessa área, percebi que a crescente preocupação popular com o meio ambiente e com processos de produção agressivos trazem vantagens mas também desvantagens. Como vantagem temos uma maior comoção popular a respeito de crises reais, o qual potencializa consequências construtivas. Como desvantagens temos a geração de muito conteúdo distante das realidades locais. Fiquei assustado na conversa com a quantidade de conteúdo por mim absorvido que era extremamente distante ou utópico da realidade da pecuária brasileira, no viés de um profissional dessa área. Esse tema é extremamente importante e considero que garantir que esse estudo transpareça com fidelidade as realidades locais, trará muito valor.
Brigadão pela resposta 💜💜 Boto _muita_ fé que é fácil se distanciar da realidade do setor quando estamos a milhares de quilômetros de distância fazendo um debate acadêmico e, dentro do possível, tentei manter meus pés no chão e entender o que é plausível ou não pra quem tá envolvido na indústria, mas provavelmente não consegui fazer isso muito bem... Em algumas partes que pulei nesse vídeo falo sobre como é difícil seguir normas ambientais e como, em nível individual, a pecuária é a melhor escolha pra muita gente, e, sendo assim, tentar desconsiderá-la não só é míope e limitante, mas chega a ser anti-ético! Minha conclusão vai muito nessa linha de que a culpa não é de pessoas individuais, mas de um sistema que favorece esse tipo de atividade e dificulta outras. Vou tentar me atentar mais a essa questão e até adicionei um cartãozinho na minha argumentação pra falar disso! Valeu pelo seu tempo e cabeça Didi, me ajudou e motivou pra caramba, do fundo do meu coração 🥰🥂🍾