Skip to content
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ae31a2a
Resolve conflicts
SowaProgramuje Oct 16, 2024
635c0f8
Fix conflict
SowaProgramuje Feb 18, 2025
f7b6430
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Feb 27, 2025
dcb6028
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 6, 2025
2d6a3b9
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 11, 2025
c3a5cbb
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 11, 2025
d389c5f
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 12, 2025
06b13d3
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 13, 2025
17517d3
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 14, 2025
121e0a5
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 17, 2025
b19d269
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 17, 2025
eecd9ab
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 17, 2025
2717007
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 21, 2025
dd296a0
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 27, 2025
76d277e
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 28, 2025
f6d4f13
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Mar 28, 2025
ac0278f
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Apr 17, 2025
af5e036
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Apr 17, 2025
b7e625a
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Apr 23, 2025
9bb1b01
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Apr 23, 2025
f296713
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Apr 23, 2025
e8f860d
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje May 7, 2025
4c2f423
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje May 15, 2025
374bbe0
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jun 10, 2025
c40bae8
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jun 16, 2025
7af9fdb
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jun 17, 2025
d5ca547
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jun 24, 2025
b8b9770
Add content changes
SowaProgramuje Jun 24, 2025
114f781
Improve creating mcp instructions
SowaProgramuje Jun 24, 2025
128a25c
Change pill colors
SowaProgramuje Jun 24, 2025
6a96f54
Improve description
SowaProgramuje Jun 24, 2025
da6da85
Address review comments
SowaProgramuje Jun 24, 2025
a40ff0a
Address review comments
SowaProgramuje Jun 24, 2025
224a33e
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jun 26, 2025
da793e8
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jun 27, 2025
9a51526
AI Dev zone and home page adjustments
SowaProgramuje Jul 10, 2025
62a1afc
Apply review changes
SowaProgramuje Jul 10, 2025
0094a56
Adjust description
SowaProgramuje Jul 11, 2025
9d2bc7d
Adjust description
SowaProgramuje Jul 11, 2025
060b70c
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jul 18, 2025
cfd4d8c
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jul 22, 2025
e3c3d27
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Jul 29, 2025
c567973
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Aug 1, 2025
e92839d
Merge branch 'main' of github.com:box/developer.box.com
SowaProgramuje Aug 12, 2025
9abfcc5
Fix BUIE samples
SowaProgramuje Aug 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions content/guides/embed/ui-elements/preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,15 +465,15 @@ const suggestedQuestions = [
];

preview.show(<FILE_ID>, <TOKEN>, {
container: '.preview-container',
contentAnswersProps={
show: true,
isCitationsEnabled: true,
isMarkdownEnabled: true,
isResetChatEnabled: true,
suggestedQuestions
}
hasHeader: true,
container: '.preview-container',
contentAnswersProps={
show: true,
isCitationsEnabled: true,
isMarkdownEnabled: true,
isResetChatEnabled: true,
suggestedQuestions
}
hasHeader: true,
});
```

Expand All @@ -495,7 +495,7 @@ To localize the `suggestedQuestions` properly, make sure that the prompts are tr
import ContentPreview from 'box-ui-elements/es/elements/content-preview';
import { IntlProvider } from "react-intl";

const suggestedQuestions = [
const questions = [
{
label: 'Key takeaways',
prompt: 'What are the key takeaways from this document?',
Expand All @@ -521,11 +521,11 @@ export default () => {
isCitationsEnabled: true,
isMarkdownEnabled: true,
isResetChatEnabled: true,
suggestedQuestions
suggestedQuestions: questions
}}
fileId={FILE_ID}
token={TOKEN}
hasHeader=true
hasHeader="true"
/>
</IntlProvider>
);
Expand Down
Loading