HackerTrans
TopNewTrendsCommentsPastAskShowJobs

andrewlu0

no profile record

Submissions

Show HN: Turn Office templates into shareable forms

office2form.com
2 points·by andrewlu0·قبل سنتين·0 comments

How to build a multi-modal knowledge base

dealpage.ai
2 points·by andrewlu0·قبل سنتين·0 comments

Launch HN: Baseplate (YC W23) – Back end-as-a-service for LLM apps

177 points·by andrewlu0·قبل 3 سنوات·104 comments

comments

andrewlu0
·الشهر الماضي·discuss
just added an example implementation in the xlsx viewer for search, but the code is yours to modify and customize. react-xlsx should expose the necessary functions to implement a custom search (by workbook/sheet etc...)
andrewlu0
·الشهر الماضي·discuss
added some basic filtering/sort/search support, lmk what you think!
andrewlu0
·الشهر الماضي·discuss
Hey! Very valid feedback - working on improving the file system component and overall site performance today
andrewlu0
·الشهر الماضي·discuss
Responded above but the components like the file viewers should not depend on next. Please lmk if it gets pulled when installing via CLI
andrewlu0
·الشهر الماضي·discuss
https://github.com/extend-hq/ui
andrewlu0
·الشهر الماضي·discuss
Thank you! Working on optimizing
andrewlu0
·الشهر الماضي·discuss
Someone requested web components earlier so let me know if you make that happen!
andrewlu0
·الشهر الماضي·discuss
Heard the performance feedback will work on it today!
andrewlu0
·الشهر الماضي·discuss
Hey! Those components are used for the demo site, and shouldn’t ship or get installed when you install the components in the registry.

None of the ones in the registry should have next as a dependency, please lmk if otherwise
andrewlu0
·الشهر الماضي·discuss
TIL those are called Miller columns !
andrewlu0
·الشهر الماضي·discuss
Valid feedback a few other comments have mentioned , I’m going to try improving the home page tomorrow
andrewlu0
·الشهر الماضي·discuss
We use react-pdf for the viewer which I believe uses pdf JS under the hood

We aren’t not trying to reinvent that engine, rather just provide a building block for people to plug in their design system to its controls
andrewlu0
·الشهر الماضي·discuss
if you mean our docx viewer/editor specifically its hard to say without manually testing the visual fidelity with Word on some complex docx files

you are welcome to try it with your own documents and see, but its just one example we wanted to show. for the blocks that use the react-docx library, you can always copy the code and use a different method to render the docx file/thumbnails
andrewlu0
·الشهر الماضي·discuss
it should be much faster on the individual component's page

the root page is a bit slow with all the viewers, in practice you probably wont have that many in your app on one page
andrewlu0
·الشهر الماضي·discuss
coming back to this now and added it in a few places

on the demos - everything below the fold is lazy loaded but i will see what we can do to improve the mobile perf
andrewlu0
·الشهر الماضي·discuss
i felt like we couldn't build much on top of react-markdown, which i think is what most people are using
andrewlu0
·الشهر الماضي·discuss
we built a library @extend-ai/react-xlsx on top of it that renders the parsed contents onto a canvas

testing was mostly manual with a test corpus we generated. its not perfect but its pretty close for most files we've seen
andrewlu0
·الشهر الماضي·discuss
nice - did you write a custom parser for PDF/DOCX? we wrote one for XLSX after running into event loop issues with sheet JS
andrewlu0
·الشهر الماضي·discuss
thanks! would love to get your feedback

i can't promise its visually 1:1 with Word/Excel but its pretty close on the corpus we tested with
andrewlu0
·الشهر الماضي·discuss
we'll try to make it more clear on the landing/introduction page!